Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 169.2 kB / 13.64 MB, free: 1.672 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 221.3 MB / 235.5 MB, free: 2.875 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 92.03 kB / 286.5 MB, free: 164 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.841e-05/3.844e-05, allocations: 0 / 343.9 MB, free: 4.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1503, allocations: 50.43 MB / 394.3 MB, free: 1.734 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.408/0.5583, allocations: 82.97 MB / 477.3 MB, free: 4.469 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.5586, allocations: 73.56 kB / 477.4 MB, free: 4.398 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02609/0.5847, allocations: 9.542 MB / 486.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5848, allocations: 0 / 486.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.261e-05/0.5848, allocations: 8 kB / 486.9 MB, free: 10.8 MB / 362.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.0008074/0.5856, allocations: 0.5783 MB / 487.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.5857, allocations: 8.031 kB / 487.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.5858, allocations: 71.22 kB / 487.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.149e-05/0.5859, allocations: 55.42 kB / 487.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004306/0.5863, allocations: 314.7 kB / 488 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.5864, allocations: 20.56 kB / 488 MB, free: 9.672 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/0.5864, allocations: 28 kB / 488 MB, free: 9.645 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004913/0.5869, allocations: 291.1 kB / 488.3 MB, free: 9.332 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.5869, allocations: 11.89 kB / 488.3 MB, free: 9.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.073e-05/0.587, allocations: 12 kB / 488.3 MB, free: 9.309 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.587, allocations: 8 kB / 488.3 MB, free: 9.301 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.5873, allocations: 174.2 kB / 488.5 MB, free: 9.133 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.5887, allocations: 0.8794 MB / 489.4 MB, free: 8.184 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004821/0.5892, allocations: 260.8 kB / 489.6 MB, free: 7.922 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.5894, allocations: 97.41 kB / 489.7 MB, free: 7.824 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.5894, allocations: 8.219 kB / 489.7 MB, free: 7.816 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002856/0.5897, allocations: 157.8 kB / 489.9 MB, free: 7.652 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 2.405e-06/0.5897, allocations: 0 / 489.9 MB, free: 7.652 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.002009/0.5917, allocations: 1.151 MB / 491 MB, free: 6.402 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.5918, allocations: 191.9 kB / 491.2 MB, free: 6.172 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.5922, allocations: 290.7 kB / 491.5 MB, free: 5.875 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.5922, allocations: 37.7 kB / 491.5 MB, free: 5.832 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.5924, allocations: 188.5 kB / 491.7 MB, free: 5.645 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.5925, allocations: 134 kB / 491.9 MB, free: 5.512 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.862e-05/0.5925, allocations: 12 kB / 491.9 MB, free: 5.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.5927, allocations: 346.8 kB / 492.2 MB, free: 5.152 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.5928, allocations: 84.88 kB / 492.3 MB, free: 5.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.5931, allocations: 181.2 kB / 492.5 MB, free: 4.863 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.5933, allocations: 113.5 kB / 492.6 MB, free: 4.754 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.5933, allocations: 0 / 492.6 MB, free: 4.754 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005384/0.5938, allocations: 350.9 kB / 492.9 MB, free: 4.402 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.5938, allocations: 5.562 kB / 492.9 MB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.5939, allocations: 4 kB / 492.9 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001142/0.594, allocations: 24.78 kB / 493 MB, free: 4.367 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.5943, allocations: 91.84 kB / 493 MB, free: 4.277 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/0.5954, allocations: 1.284 MB / 494.3 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.5956, allocations: 23.91 kB / 494.4 MB, free: 2.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.5956, allocations: 12.06 kB / 494.4 MB, free: 2.828 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 () * 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.0001265/0.5958, allocations: 141 kB / 494.5 MB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.5958, allocations: 39.53 kB / 494.5 MB, free: 2.645 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005922/0.5964, allocations: 341.7 kB / 494.9 MB, free: 2.297 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.5965, allocations: 4 kB / 494.9 MB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.5965, allocations: 0 / 494.9 MB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006298/0.5971, allocations: 0.6568 MB / 495.5 MB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.5983, allocations: 0.8607 MB / 496.4 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.5983, allocations: 0 / 496.4 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003585/0.5987, allocations: 87.84 kB / 496.5 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.5987, allocations: 0 / 496.5 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.5987, allocations: 8 kB / 496.5 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.5987, allocations: 8.125 kB / 496.5 MB, free: 0.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5988, allocations: 0 / 496.5 MB, free: 0.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007289/0.5995, allocations: 0.5957 MB / 497.1 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.5997, allocations: 144.7 kB / 497.2 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/0.5997, allocations: 11.98 kB / 497.2 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.5999, allocations: 16 kB / 497.3 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/0.6, allocations: 23.92 kB / 497.3 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.6, allocations: 19.98 kB / 497.3 MB, free: 15.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00025/0.6003, allocations: 234.2 kB / 497.5 MB, free: 15.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6003, allocations: 0 / 497.5 MB, free: 15.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004174/0.6007, allocations: 111.9 kB / 497.6 MB, free: 15.29 MB / 378.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) * 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.001922/0.6026, allocations: 1.693 MB / 499.3 MB, free: 13.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005968/0.6033, allocations: 370.3 kB / 499.7 MB, free: 13.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6033, allocations: 3.938 kB / 499.7 MB, free: 13.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.6035, allocations: 135.9 kB / 499.8 MB, free: 13.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.6039, allocations: 82.11 kB / 499.9 MB, free: 13.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.6056, allocations: 0.9211 MB / 0.4891 GB, free: 12.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.606, allocations: 0.8119 MB / 0.4899 GB, free: 11.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001862/0.6062, allocations: 51.25 kB / 0.4899 GB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.6064, allocations: 131.4 kB / 0.4901 GB, free: 11.07 MB / 378.7 MB Notification: Performance of SimCode: time 4.2e-07/0.6064, allocations: 0 / 0.4901 GB, free: 11.07 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.6303, allocations: 8.48 MB / 0.4983 GB, free: 2.75 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003107/0.6307, allocations: 234.7 kB / 0.4986 GB, free: 2.512 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.116/2.747, allocations: 0 / 0.4986 GB, free: 2.512 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat does not exist to compare? outputFormat=mat