Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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.TestCylinder,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",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.001378/0.001378, allocations: 173 kB / 17.01 MB, free: 5.113 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.463/1.463, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0009092/0.0009092, allocations: 96.09 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003053/0.0003054, allocations: 4 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.266, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1023/0.3683, allocations: 81.97 MB / 457.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.3687, allocations: 79.97 kB / 457.9 MB, free: 14.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02593/0.3946, allocations: 9.581 MB / 467.5 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3947, allocations: 0 / 467.5 MB, free: 4.977 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.55e-05/0.3947, allocations: 8 kB / 467.5 MB, free: 4.969 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009384/0.3956, allocations: 0.6527 MB / 468.2 MB, free: 4.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.3957, allocations: 8.031 kB / 468.2 MB, free: 4.262 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.3958, allocations: 71 kB / 468.3 MB, free: 4.184 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.3959, allocations: 47.48 kB / 468.3 MB, free: 4.137 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004387/0.3964, allocations: 323.3 kB / 468.6 MB, free: 3.785 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.3964, allocations: 20.56 kB / 468.6 MB, free: 3.766 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.372e-05/0.3965, allocations: 24 kB / 468.7 MB, free: 3.742 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004491/0.3969, allocations: 303.1 kB / 469 MB, free: 3.422 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.3969, allocations: 4 kB / 469 MB, free: 3.418 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.964e-05/0.397, allocations: 12 kB / 469 MB, free: 3.406 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.397, allocations: 7.953 kB / 469 MB, free: 3.398 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.3973, allocations: 190.1 kB / 469.2 MB, free: 3.211 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.3986, allocations: 0.8911 MB / 470.1 MB, free: 2.258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005033/0.3991, allocations: 261.9 kB / 470.3 MB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.3991, allocations: 4.281 kB / 470.3 MB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002854/0.3994, allocations: 165.8 kB / 470.5 MB, free: 1.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/0.3994, allocations: 0 / 470.5 MB, free: 1.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.002331/0.4018, allocations: 1.341 MB / 471.8 MB, free: 372 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.738e-05/0.4019, allocations: 187.9 kB / 472 MB, free: 140 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/0.4023, allocations: 311.7 kB / 472.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.4023, allocations: 37.7 kB / 472.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.4025, allocations: 192.4 kB / 472.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.4026, allocations: 138 kB / 472.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.455e-05/0.4026, allocations: 8 kB / 472.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.4027, allocations: 362.7 kB / 473 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.4029, allocations: 84.84 kB / 473.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.4032, allocations: 181.2 kB / 473.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.4035, allocations: 113.9 kB / 473.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.4035, allocations: 0 / 473.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005727/0.4041, allocations: 362.6 kB / 473.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.4041, allocations: 4 kB / 473.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4041, allocations: 3.984 kB / 473.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.413e-05/0.4042, allocations: 20.98 kB / 473.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.4045, allocations: 87.89 kB / 473.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.4056, allocations: 1.296 MB / 475.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.4058, allocations: 19.97 kB / 475.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.4058, allocations: 12 kB / 475.2 MB, free: 12.73 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: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001939/0.406, allocations: 176.1 kB / 475.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.533e-05/0.4061, allocations: 43.52 kB / 475.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005789/0.4066, allocations: 342.1 kB / 475.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.4067, allocations: 8 kB / 475.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.4067, allocations: 0 / 475.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006434/0.4073, allocations: 0.6683 MB / 476.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.4086, allocations: 0.8761 MB / 477.3 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4086, allocations: 0 / 477.3 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/0.4089, allocations: 83.89 kB / 477.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.409, allocations: 3.953 kB / 477.4 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.409, allocations: 8 kB / 477.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.333e-06/0.409, allocations: 7.938 kB / 477.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.409, allocations: 0 / 477.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000769/0.4098, allocations: 0.6105 MB / 478 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.41, allocations: 148.7 kB / 478.2 MB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.597e-05/0.41, allocations: 8 kB / 478.2 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.4102, allocations: 19.98 kB / 478.2 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/0.4103, allocations: 27.86 kB / 478.2 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.4103, allocations: 16 kB / 478.2 MB, free: 9.438 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002596/0.4106, allocations: 251 kB / 478.5 MB, free: 9.195 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4106, allocations: 0 / 478.5 MB, free: 9.195 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004183/0.411, allocations: 116.5 kB / 478.6 MB, free: 9.082 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001938/0.413, allocations: 1.762 MB / 480.4 MB, free: 7.301 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005973/0.4136, allocations: 366.7 kB / 480.7 MB, free: 6.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4136, allocations: 8.25 kB / 480.7 MB, free: 6.922 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.4138, allocations: 143.8 kB / 480.9 MB, free: 6.781 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.4143, allocations: 74.05 kB / 480.9 MB, free: 6.711 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003495/0.4178, allocations: 3.152 MB / 484.1 MB, free: 3.473 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.4182, allocations: 0.8158 MB / 484.9 MB, free: 2.629 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.4184, allocations: 59.19 kB / 485 MB, free: 2.574 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.4186, allocations: 139.4 kB / 485.1 MB, free: 2.438 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4186, allocations: 0 / 485.1 MB, free: 2.438 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.4407, allocations: 8.694 MB / 493.8 MB, free: 9.734 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000254/0.441, allocations: 242.7 kB / 494 MB, free: 9.406 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.155/2.596, allocations: 0 / 494 MB, free: 9.406 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat does not exist to compare? outputFormat=mat