Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009993/0.0009993, allocations: 183.4 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.2 MB / 218.9 MB, free: 9.148 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009048/0.0009046, allocations: 90.53 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3747/0.3747, allocations: 43.47 MB / 358.6 MB, free: 52.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.843e-05/2.852e-05, allocations: 0 / 425.4 MB, free: 8.758 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1239, allocations: 58.85 MB / 484.3 MB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4172/0.5411, allocations: 96.79 MB / 0.5675 GB, free: 8.109 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.5414, allocations: 95.45 kB / 0.5675 GB, free: 8.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04265/0.5841, allocations: 14.36 MB / 0.5816 GB, free: 9.559 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5842, allocations: 4 kB / 0.5816 GB, free: 9.555 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.953e-05/0.5842, allocations: 4 kB / 0.5816 GB, free: 9.551 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0009193/0.5851, allocations: 0.6025 MB / 0.5822 GB, free: 8.906 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.5852, allocations: 8.031 kB / 0.5822 GB, free: 8.898 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/0.5853, allocations: 82.53 kB / 0.5823 GB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.648e-05/0.5854, allocations: 42.8 kB / 0.5823 GB, free: 8.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.5858, allocations: 279.4 kB / 0.5826 GB, free: 8.457 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.5858, allocations: 32.77 kB / 0.5826 GB, free: 8.426 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.679e-05/0.5859, allocations: 36 kB / 0.5826 GB, free: 8.391 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008563/0.5867, allocations: 0.5085 MB / 0.5831 GB, free: 7.887 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.5867, allocations: 8 kB / 0.5831 GB, free: 7.879 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.817e-05/0.5868, allocations: 13.55 kB / 0.5831 GB, free: 7.867 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.877e-05/0.5869, allocations: 44.91 kB / 0.5832 GB, free: 7.824 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000792/0.5877, allocations: 0.5348 MB / 0.5837 GB, free: 7.289 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.5896, allocations: 1.202 MB / 0.5849 GB, free: 6.031 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005977/0.5902, allocations: 364.1 kB / 0.5852 GB, free: 5.668 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.5904, allocations: 117.1 kB / 0.5853 GB, free: 5.551 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.268e-05/0.5905, allocations: 8.172 kB / 0.5853 GB, free: 5.543 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.5905, allocations: 38.73 kB / 0.5854 GB, free: 5.496 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.954e-06/0.5905, allocations: 4 kB / 0.5854 GB, free: 5.492 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006169/0.5912, allocations: 310.6 kB / 0.5857 GB, free: 5.184 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.5912, allocations: 55.44 kB / 0.5857 GB, free: 5.117 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004388/0.5917, allocations: 399.5 kB / 0.5861 GB, free: 4.723 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.5917, allocations: 29.7 kB / 0.5861 GB, free: 4.688 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.5918, allocations: 188.4 kB / 0.5863 GB, free: 4.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.066e-05/0.5919, allocations: 82.78 kB / 0.5864 GB, free: 4.418 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/0.5919, allocations: 4 kB / 0.5864 GB, free: 4.414 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.5921, allocations: 358.8 kB / 0.5868 GB, free: 4.055 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.5923, allocations: 95.91 kB / 0.5868 GB, free: 3.961 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.5925, allocations: 107.7 kB / 0.5869 GB, free: 3.859 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.5927, allocations: 111.9 kB / 0.5871 GB, free: 3.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5927, allocations: 0 / 0.5871 GB, free: 3.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005345/0.5932, allocations: 317 kB / 0.5874 GB, free: 3.434 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.5933, allocations: 4 kB / 0.5874 GB, free: 3.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.5933, allocations: 0 / 0.5874 GB, free: 3.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.5933, allocations: 0 / 0.5874 GB, free: 3.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008447/0.5942, allocations: 155.8 kB / 0.5875 GB, free: 3.277 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003344/0.5975, allocations: 5.512 MB / 0.5929 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.5978, allocations: 51.73 kB / 0.5929 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.5978, allocations: 11.98 kB / 0.593 GB, free: 13.49 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.598, allocations: 116.9 kB / 0.5931 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.889e-05/0.5981, allocations: 31.62 kB / 0.5931 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008219/0.5989, allocations: 431.8 kB / 0.5935 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.5989, allocations: 0 / 0.5935 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5989, allocations: 0 / 0.5935 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.5989, allocations: 4 kB / 0.5935 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005227/0.5994, allocations: 385.2 kB / 0.5939 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.5995, allocations: 0 / 0.5939 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007177/0.6002, allocations: 147.9 kB / 0.594 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.6002, allocations: 0 / 0.594 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.6002, allocations: 7.984 kB / 0.594 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003152/0.6034, allocations: 5.528 MB / 0.5994 GB, free: 6.594 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6034, allocations: 0 / 0.5994 GB, free: 6.594 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005592/0.604, allocations: 415 kB / 0.5998 GB, free: 6.172 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.6041, allocations: 116.6 kB / 0.5999 GB, free: 6.039 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.6042, allocations: 12.19 kB / 0.5999 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.6044, allocations: 11.98 kB / 0.6 GB, free: 6.016 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.6045, allocations: 19.97 kB / 0.6 GB, free: 5.996 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.6045, allocations: 15.98 kB / 0.6 GB, free: 5.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003694/0.6049, allocations: 326.1 kB / 0.6003 GB, free: 5.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.975e-06/0.6049, allocations: 0 / 0.6003 GB, free: 5.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006081/0.6055, allocations: 155.7 kB / 0.6004 GB, free: 5.508 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001255/0.6068, allocations: 1.1 MB / 0.6015 GB, free: 4.383 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009964/0.6078, allocations: 343.6 kB / 0.6018 GB, free: 4.047 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.6078, allocations: 0 / 0.6018 GB, free: 4.047 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007231/0.6085, allocations: 227.7 kB / 0.6021 GB, free: 3.824 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.6089, allocations: 87.67 kB / 0.6021 GB, free: 3.742 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.6104, allocations: 0.7102 MB / 0.6028 GB, free: 3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005317/0.6109, allocations: 0.8581 MB / 0.6037 GB, free: 2.113 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002178/0.6111, allocations: 83.2 kB / 0.6038 GB, free: 2.027 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.6113, allocations: 111.3 kB / 0.6039 GB, free: 1.918 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6114, allocations: 0 / 0.6039 GB, free: 1.918 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/0.6412, allocations: 11.99 MB / 0.6156 GB, free: 6.012 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002355/0.6415, allocations: 226.2 kB / 0.6158 GB, free: 5.781 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/3.019, allocations: 0 / 0.6158 GB, free: 5.781 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat