Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",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.001341/0.001341, allocations: 172.4 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.555/1.555, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008037/0.0008033, allocations: 94.64 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.41e-05/3.412e-05, allocations: 4 kB / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1104, allocations: 47.57 MB / 370.1 MB, free: 1.621 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3321/0.4425, allocations: 78.21 MB / 448.3 MB, free: 15.04 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.4428, allocations: 68 kB / 448.4 MB, free: 15.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01019/0.453, allocations: 3.869 MB / 452.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.453, allocations: 4 kB / 452.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.4531, allocations: 4 kB / 452.3 MB, free: 11.68 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007219/0.4538, allocations: 0.4905 MB / 452.8 MB, free: 11.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.4539, allocations: 12.03 kB / 452.8 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.833e-05/0.454, allocations: 59.12 kB / 452.8 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.4541, allocations: 23.72 kB / 452.9 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.4544, allocations: 226 kB / 453.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.4544, allocations: 20.2 kB / 453.1 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.4544, allocations: 23.56 kB / 453.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.4548, allocations: 215.2 kB / 453.3 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.4548, allocations: 0 / 453.3 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.4548, allocations: 9.953 kB / 453.3 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.4549, allocations: 8 kB / 453.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002337/0.4551, allocations: 127.8 kB / 453.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.4562, allocations: 0.8385 MB / 454.3 MB, free: 9.754 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.4565, allocations: 141.4 kB / 454.4 MB, free: 9.648 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.981e-05/0.4566, allocations: 67.44 kB / 454.5 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.4566, allocations: 0 / 454.5 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.4567, allocations: 42.52 kB / 454.6 MB, free: 9.555 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.263e-06/0.4567, allocations: 3.938 kB / 454.6 MB, free: 9.551 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003589/0.457, allocations: 150.1 kB / 454.7 MB, free: 9.426 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.4571, allocations: 51.41 kB / 454.8 MB, free: 9.363 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.4572, allocations: 156.3 kB / 454.9 MB, free: 9.215 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.4573, allocations: 33.39 kB / 454.9 MB, free: 9.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.602e-05/0.4574, allocations: 142.1 kB / 455.1 MB, free: 9.055 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.4574, allocations: 62.19 kB / 455.1 MB, free: 9 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.044e-06/0.4574, allocations: 7.188 kB / 455.1 MB, free: 8.996 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.52e-05/0.4575, allocations: 326.5 kB / 455.5 MB, free: 8.676 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.396e-05/0.4576, allocations: 41.56 kB / 455.5 MB, free: 8.648 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.157e-05/0.4577, allocations: 75.05 kB / 455.6 MB, free: 8.582 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.558e-05/0.4578, allocations: 46.73 kB / 455.6 MB, free: 8.551 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4578, allocations: 3.953 kB / 455.6 MB, free: 8.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002865/0.4581, allocations: 187.8 kB / 455.8 MB, free: 8.395 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.4581, allocations: 8 kB / 455.8 MB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.4581, allocations: 0 / 455.8 MB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001741/0.4583, allocations: 31.59 kB / 455.8 MB, free: 8.359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.4584, allocations: 44 kB / 455.9 MB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009885/0.4594, allocations: 1.353 MB / 457.2 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.4596, allocations: 46.73 kB / 457.3 MB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.4597, allocations: 7.984 kB / 457.3 MB, free: 6.855 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.655e-05/0.4597, allocations: 115.2 kB / 457.4 MB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.4598, allocations: 15.81 kB / 457.4 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/0.4598, allocations: 25.39 kB / 457.5 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.4598, allocations: 4 kB / 457.5 MB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.4598, allocations: 3.938 kB / 457.5 MB, free: 6.707 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4599, allocations: 0 / 457.5 MB, free: 6.707 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005526/0.4604, allocations: 499.2 kB / 457.9 MB, free: 6.234 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4604, allocations: 4 kB / 458 MB, free: 6.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.4606, allocations: 30.62 kB / 458 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-05/0.4607, allocations: 42.83 kB / 458 MB, free: 6.164 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.4607, allocations: 3.5 kB / 458 MB, free: 6.164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000939/0.4617, allocations: 1.351 MB / 459.4 MB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4617, allocations: 0 / 459.4 MB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003891/0.4621, allocations: 318.6 kB / 459.7 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.304e-05/0.4622, allocations: 104.1 kB / 459.8 MB, free: 4.359 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.4622, allocations: 4 kB / 459.8 MB, free: 4.355 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.4624, allocations: 31.92 kB / 459.8 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.4625, allocations: 27.52 kB / 459.9 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.4625, allocations: 8 kB / 459.9 MB, free: 4.297 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.917e-05/0.4626, allocations: 123 kB / 460 MB, free: 4.191 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4626, allocations: 0 / 460 MB, free: 4.191 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002709/0.4629, allocations: 62.97 kB / 460 MB, free: 4.137 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006331/0.4635, allocations: 0.8466 MB / 460.9 MB, free: 3.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003317/0.4639, allocations: 227.3 kB / 461.1 MB, free: 3.117 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.4639, allocations: 8.25 kB / 461.1 MB, free: 3.109 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.4641, allocations: 178.5 kB / 461.3 MB, free: 2.922 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.4643, allocations: 28.12 kB / 461.3 MB, free: 2.895 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007172/0.465, allocations: 349 kB / 461.7 MB, free: 2.523 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.4654, allocations: 0.7363 MB / 462.4 MB, free: 1.758 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.752e-05/0.4655, allocations: 17.33 kB / 462.4 MB, free: 1.742 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.577e-05/0.4656, allocations: 55.42 kB / 462.5 MB, free: 1.691 MB / 330.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4656, allocations: 0 / 462.5 MB, free: 1.691 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0153/0.4809, allocations: 3.971 MB / 466.4 MB, free: 13.72 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/0.4811, allocations: 191.4 kB / 466.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.523/2.004, allocations: 0 / 466.6 MB, free: 13.49 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat does not exist to compare? outputFormat=mat