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.001188/0.001187, allocations: 173 kB / 14.1 MB, free: 1.223 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.332/1.332, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.00077/0.00077, allocations: 90.62 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.066e-05/3.069e-05, allocations: 0 / 322.5 MB, free: 17.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08761/0.08767, allocations: 47.57 MB / 370.1 MB, free: 1.625 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3045/0.3922, allocations: 81.87 MB / 452 MB, free: 11.51 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.3925, allocations: 79.02 kB / 452.1 MB, free: 11.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02476/0.4172, allocations: 9.553 MB / 461.6 MB, free: 3.293 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4173, allocations: 0 / 461.6 MB, free: 3.293 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.601e-05/0.4173, allocations: 8 kB / 461.6 MB, free: 3.285 MB / 330.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.0009665/0.4183, allocations: 0.5938 MB / 462.2 MB, free: 2.645 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.4184, allocations: 12.03 kB / 462.2 MB, free: 2.633 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00012/0.4185, allocations: 71 kB / 462.3 MB, free: 2.551 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.212e-05/0.4186, allocations: 51.47 kB / 462.3 MB, free: 2.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005095/0.4191, allocations: 316.2 kB / 462.7 MB, free: 2.152 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.4191, allocations: 20.78 kB / 462.7 MB, free: 2.133 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.555e-05/0.4192, allocations: 28 kB / 462.7 MB, free: 2.105 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004802/0.4197, allocations: 303 kB / 463 MB, free: 1.785 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.4197, allocations: 4 kB / 463 MB, free: 1.781 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.4198, allocations: 12 kB / 463 MB, free: 1.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.4198, allocations: 7.953 kB / 463 MB, free: 1.762 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.4201, allocations: 174.2 kB / 463.2 MB, free: 1.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.4215, allocations: 0.8912 MB / 464.1 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005188/0.422, allocations: 247.5 kB / 464.3 MB, free: 392 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.4222, allocations: 109.4 kB / 464.4 MB, free: 280 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.4222, allocations: 4.281 kB / 464.4 MB, free: 276 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002705/0.4225, allocations: 161.8 kB / 464.6 MB, free: 104 kB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 1.954e-06/0.4225, allocations: 0 / 464.6 MB, free: 104 kB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.001953/0.4245, allocations: 1.159 MB / 465.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.911e-05/0.4246, allocations: 187.9 kB / 465.9 MB, free: 14.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.4249, allocations: 310.7 kB / 466.2 MB, free: 14.31 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.425, allocations: 33.7 kB / 466.3 MB, free: 14.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.4251, allocations: 196.4 kB / 466.5 MB, free: 14.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.903e-05/0.4252, allocations: 138 kB / 466.6 MB, free: 13.94 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.592e-05/0.4252, allocations: 15.94 kB / 466.6 MB, free: 13.92 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.4254, allocations: 350.8 kB / 467 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.4255, allocations: 80.88 kB / 467 MB, free: 13.49 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.4258, allocations: 181.8 kB / 467.2 MB, free: 13.28 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.426, allocations: 113.6 kB / 467.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.426, allocations: 0 / 467.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005264/0.4265, allocations: 350.6 kB / 467.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.4265, allocations: 8 kB / 467.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4265, allocations: 4.125 kB / 467.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000118/0.4267, allocations: 28.8 kB / 467.7 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/0.427, allocations: 83.91 kB / 467.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.428, allocations: 1.296 MB / 469.1 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.4282, allocations: 12 kB / 469.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.4282, allocations: 12 kB / 469.1 MB, free: 11.24 MB / 346.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.00013/0.4284, allocations: 137.7 kB / 469.2 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.618e-05/0.4284, allocations: 39.53 kB / 469.3 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006054/0.429, allocations: 338.1 kB / 469.6 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.4291, allocations: 11.94 kB / 469.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-06/0.4291, allocations: 0 / 469.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005507/0.4296, allocations: 0.6605 MB / 470.3 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.4308, allocations: 0.8728 MB / 471.2 MB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4308, allocations: 0 / 471.2 MB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003241/0.4311, allocations: 79.84 kB / 471.2 MB, free: 8.926 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.4311, allocations: 4 kB / 471.2 MB, free: 8.922 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.4312, allocations: 11.98 kB / 471.3 MB, free: 8.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.4312, allocations: 4 kB / 471.3 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4312, allocations: 0 / 471.3 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006756/0.4319, allocations: 0.5987 MB / 471.9 MB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.432, allocations: 152.6 kB / 472 MB, free: 8.086 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.4321, allocations: 12 kB / 472 MB, free: 8.074 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.4323, allocations: 19.98 kB / 472 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.198e-05/0.4324, allocations: 23.97 kB / 472.1 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.4324, allocations: 8 kB / 472.1 MB, free: 8.023 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002776/0.4327, allocations: 254.2 kB / 472.3 MB, free: 7.773 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4327, allocations: 0 / 472.3 MB, free: 7.773 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004545/0.4332, allocations: 116.5 kB / 472.4 MB, free: 7.66 MB / 346.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.001891/0.4351, allocations: 1.698 MB / 474.1 MB, free: 5.922 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006044/0.4357, allocations: 367.2 kB / 474.5 MB, free: 5.551 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4357, allocations: 0 / 474.5 MB, free: 5.551 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.4359, allocations: 140.2 kB / 474.6 MB, free: 5.414 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.4364, allocations: 81.06 kB / 474.7 MB, free: 5.336 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.4379, allocations: 0.9447 MB / 475.6 MB, free: 4.332 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.4383, allocations: 0.8197 MB / 476.5 MB, free: 3.484 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001783/0.4385, allocations: 51.25 kB / 476.5 MB, free: 3.438 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.4387, allocations: 135.4 kB / 476.6 MB, free: 3.305 MB / 346.7 MB Notification: Performance of SimCode: time 8.52e-07/0.4387, allocations: 0 / 476.6 MB, free: 3.305 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02225/0.461, allocations: 8.651 MB / 485.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.4612, allocations: 226 kB / 485.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/2.523, allocations: 0 / 485.5 MB, free: 10.41 MB / 362.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