Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",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.001258/0.001258, allocations: 180 kB / 17.01 MB, free: 5.125 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.668/1.668, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.001279/0.001279, allocations: 92.56 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003069/0.0003068, allocations: 8 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3035, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.107/0.4105, allocations: 80.95 MB / 456.9 MB, free: 15.69 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.4108, allocations: 71.95 kB / 456.9 MB, free: 15.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02676/0.4376, allocations: 9.559 MB / 466.5 MB, free: 5.992 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.4377, allocations: 0 / 466.5 MB, free: 5.992 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.606e-05/0.4378, allocations: 12 kB / 466.5 MB, free: 5.98 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.00171/0.4395, allocations: 0.7609 MB / 467.3 MB, free: 5.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.4396, allocations: 12.03 kB / 467.3 MB, free: 5.148 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002128/0.4398, allocations: 83.45 kB / 467.4 MB, free: 5.059 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.44, allocations: 59.34 kB / 467.4 MB, free: 5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000779/0.4408, allocations: 378.3 kB / 467.8 MB, free: 4.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.4409, allocations: 62.66 kB / 467.8 MB, free: 4.523 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.718e-05/0.441, allocations: 35.91 kB / 467.9 MB, free: 4.488 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008251/0.4419, allocations: 466.2 kB / 468.3 MB, free: 3.977 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.4419, allocations: 0 / 468.3 MB, free: 3.977 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.685e-05/0.442, allocations: 19.98 kB / 468.4 MB, free: 3.957 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.442, allocations: 8 kB / 468.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006134/0.4426, allocations: 299.8 kB / 468.7 MB, free: 3.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002296/0.4449, allocations: 1.27 MB / 469.9 MB, free: 2.305 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.4461, allocations: 449.5 kB / 470.4 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.4462, allocations: 4.281 kB / 470.4 MB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.4462, allocations: 42.84 kB / 470.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 1.483e-06/0.4462, allocations: 0 / 470.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.001197/0.4474, allocations: 0.6254 MB / 471 MB, free: 1.109 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002012/0.4476, allocations: 448.9 kB / 471.5 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004836/0.4481, allocations: 401.1 kB / 471.9 MB, free: 176 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.4482, allocations: 33.7 kB / 471.9 MB, free: 136 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.4484, allocations: 236.4 kB / 472.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.4485, allocations: 110.3 kB / 472.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/0.4485, allocations: 8 kB / 472.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.4487, allocations: 358.8 kB / 472.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.4489, allocations: 112 kB / 472.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/0.4493, allocations: 262.3 kB / 473 MB, free: 15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.4496, allocations: 168 kB / 473.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4496, allocations: 0 / 473.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007584/0.4504, allocations: 438.3 kB / 473.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/0.4504, allocations: 33.64 kB / 473.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.4504, allocations: 8.031 kB / 473.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/0.4506, allocations: 41.7 kB / 473.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/0.451, allocations: 75.89 kB / 473.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/0.4534, allocations: 2.768 MB / 476.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003509/0.4538, allocations: 55.56 kB / 476.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.4538, allocations: 12.09 kB / 476.5 MB, free: 11.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002677/0.4541, allocations: 170.2 kB / 476.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.4542, allocations: 51.42 kB / 476.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.943e-05/0.4543, allocations: 52.7 kB / 476.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.4543, allocations: 7.953 kB / 476.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4543, allocations: 0 / 476.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007286/0.4551, allocations: 0.6648 MB / 477.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/0.4565, allocations: 0.9225 MB / 478.4 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.4565, allocations: 0 / 478.4 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/0.4569, allocations: 79.84 kB / 478.5 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.4569, allocations: 0 / 478.5 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.457, allocations: 4 kB / 478.5 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.457, allocations: 8 kB / 478.5 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.457, allocations: 0 / 478.5 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008851/0.4579, allocations: 0.5525 MB / 479 MB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.4581, allocations: 160.4 kB / 479.2 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.7e-05/0.4582, allocations: 15.95 kB / 479.2 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/0.4585, allocations: 15.98 kB / 479.2 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.4585, allocations: 15.98 kB / 479.2 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.4586, allocations: 11.98 kB / 479.3 MB, free: 8.188 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003882/0.459, allocations: 315.1 kB / 479.6 MB, free: 7.883 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.459, allocations: 0 / 479.6 MB, free: 7.883 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005072/0.4595, allocations: 151.8 kB / 479.7 MB, free: 7.734 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001241/0.4607, allocations: 1.098 MB / 480.8 MB, free: 6.609 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009484/0.4617, allocations: 0.5757 MB / 481.4 MB, free: 5.996 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4617, allocations: 0 / 481.4 MB, free: 5.996 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000251/0.462, allocations: 143.7 kB / 481.5 MB, free: 5.855 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006022/0.4626, allocations: 128.5 kB / 481.7 MB, free: 5.734 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.4648, allocations: 1.584 MB / 483.2 MB, free: 4.094 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.4652, allocations: 0.8276 MB / 484.1 MB, free: 3.238 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002311/0.4655, allocations: 64.22 kB / 484.1 MB, free: 3.176 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/0.4657, allocations: 155.4 kB / 484.3 MB, free: 3.023 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.4657, allocations: 0 / 484.3 MB, free: 3.023 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.4926, allocations: 11.29 MB / 495.6 MB, free: 7.746 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/0.4929, allocations: 204.5 kB / 495.8 MB, free: 7.512 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.357/2.85, allocations: 0 / 495.8 MB, free: 7.512 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat does not exist to compare? outputFormat=mat