Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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) 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(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",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.002361/0.002361, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.076/2.076, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001166/0.001166, allocations: 82.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.972e-05/4.008e-05, allocations: 12 kB / 321.6 MB, free: 17.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1144, allocations: 47.57 MB / 369.2 MB, free: 2.102 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4368/0.5512, allocations: 81.92 MB / 451.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/0.5516, allocations: 69.84 kB / 451.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09524/0.6469, allocations: 19.41 MB / 470.6 MB, free: 9.594 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6469, allocations: 0 / 470.6 MB, free: 9.594 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.566e-05/0.647, allocations: 19.98 kB / 470.6 MB, free: 9.574 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.00357/0.6506, allocations: 1.159 MB / 471.8 MB, free: 8.352 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.6507, allocations: 11.86 kB / 471.8 MB, free: 8.344 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000389/0.6511, allocations: 128.3 kB / 471.9 MB, free: 8.207 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004398/0.6516, allocations: 126.7 kB / 472 MB, free: 8.082 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/0.6534, allocations: 0.5953 MB / 472.6 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003512/0.6538, allocations: 159.1 kB / 472.8 MB, free: 7.273 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.654, allocations: 72 kB / 472.8 MB, free: 7.203 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/0.6564, allocations: 0.9277 MB / 473.8 MB, free: 6.156 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.635e-05/0.6565, allocations: 0 / 473.8 MB, free: 6.156 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.6567, allocations: 40 kB / 473.8 MB, free: 6.117 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-05/0.6567, allocations: 16 kB / 473.8 MB, free: 6.102 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.6585, allocations: 0.5624 MB / 474.4 MB, free: 5.539 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007704/0.6663, allocations: 2.598 MB / 477 MB, free: 2.805 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004869/0.6712, allocations: 0.8876 MB / 477.9 MB, free: 1.887 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001143/0.6724, allocations: 327.2 kB / 478.2 MB, free: 1.566 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.6725, allocations: 12.77 kB / 478.2 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.89e-05/0.6726, allocations: 63.22 kB / 478.3 MB, free: 1.484 MB / 346.7 MB Notification: Performance of pre-optimization done (n=74): time 3.967e-06/0.6726, allocations: 0 / 478.3 MB, free: 1.484 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.002618/0.6752, allocations: 0.7336 MB / 479 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005843/0.6759, allocations: 0.9528 MB / 479.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.6775, allocations: 0.6803 MB / 480.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002425/0.6777, allocations: 49.69 kB / 480.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004271/0.6782, allocations: 411 kB / 481.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003894/0.6786, allocations: 268.1 kB / 481.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-05/0.6786, allocations: 16 kB / 481.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.6788, allocations: 346.8 kB / 481.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007766/0.6796, allocations: 229.5 kB / 481.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.6808, allocations: 0.5428 MB / 482.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009569/0.6818, allocations: 369.8 kB / 482.8 MB, free: 12.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.6818, allocations: 4 kB / 482.8 MB, free: 12.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00275/0.6846, allocations: 0.8683 MB / 483.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.686e-05/0.6847, allocations: 85.11 kB / 483.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.6848, allocations: 0 / 483.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.6858, allocations: 164.2 kB / 483.9 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/0.6873, allocations: 167.7 kB / 484.1 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009447/0.6968, allocations: 6.793 MB / 490.9 MB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.6984, allocations: 115.2 kB / 491 MB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.6986, allocations: 24 kB / 491 MB, free: 3.559 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 4 {1 3,1 1,1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000316/0.6989, allocations: 160.9 kB / 491.2 MB, free: 3.395 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003004/0.6992, allocations: 106.8 kB / 491.3 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003673/0.6996, allocations: 101.6 kB / 491.4 MB, free: 3.184 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.6996, allocations: 8 kB / 491.4 MB, free: 3.176 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.6996, allocations: 0 / 491.4 MB, free: 3.176 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001916/0.7016, allocations: 0.9261 MB / 492.3 MB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004524/0.7061, allocations: 1.719 MB / 494 MB, free: 356 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.7062, allocations: 0 / 494 MB, free: 356 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/0.7078, allocations: 171.8 kB / 494.2 MB, free: 184 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001822/0.708, allocations: 36.73 kB / 494.2 MB, free: 144 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/0.7082, allocations: 15.98 kB / 494.3 MB, free: 128 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/0.7096, allocations: 1.296 MB / 495.6 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.7096, allocations: 0 / 495.6 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003007/0.7127, allocations: 1.014 MB / 496.6 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007296/0.7134, allocations: 259.6 kB / 496.8 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/0.7137, allocations: 24.06 kB / 496.9 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009856/0.7147, allocations: 47.97 kB / 496.9 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.7149, allocations: 44.72 kB / 496.9 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.03e-05/0.7149, allocations: 19.98 kB / 497 MB, free: 13.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001197/0.7162, allocations: 0.5304 MB / 497.5 MB, free: 12.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7162, allocations: 0 / 497.5 MB, free: 12.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001335/0.7175, allocations: 307.6 kB / 497.8 MB, free: 12.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003348/0.7209, allocations: 1.605 MB / 499.4 MB, free: 10.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004028/0.725, allocations: 1.367 MB / 0.489 GB, free: 9.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/0.725, allocations: 4.25 kB / 0.489 GB, free: 9.316 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.7261, allocations: 399.1 kB / 0.4894 GB, free: 8.914 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/0.728, allocations: 246.1 kB / 0.4896 GB, free: 8.676 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005323/0.7334, allocations: 1.488 MB / 0.4911 GB, free: 7.133 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008074/0.7342, allocations: 0.9992 MB / 0.4921 GB, free: 6.105 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009763/0.7352, allocations: 371.3 kB / 0.4924 GB, free: 5.742 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.7352, allocations: 0 / 0.4924 GB, free: 5.742 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.29/4.025, allocations: 27.09 MB / 0.5189 GB, free: 10.58 MB / 410.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat does not exist to compare? outputFormat=mat