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.001415/0.001415, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.903/1.903, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009739/0.000974, allocations: 78.23 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.901e-05/1.904e-05, allocations: 7.984 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0997/0.09973, allocations: 47.59 MB / 363.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3503/0.4501, allocations: 77.77 MB / 440.9 MB, free: 1.828 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.4505, allocations: 71.64 kB / 441 MB, free: 1.789 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0103/0.4608, allocations: 3.842 MB / 444.9 MB, free: 14.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.4608, allocations: 0 / 444.9 MB, free: 14.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.4609, allocations: 4 kB / 444.9 MB, free: 14.54 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.0007878/0.4617, allocations: 0.4931 MB / 445.3 MB, free: 14.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.4617, allocations: 12.03 kB / 445.4 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.4619, allocations: 24.48 kB / 445.4 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.4622, allocations: 221.6 kB / 445.6 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.4622, allocations: 11.95 kB / 445.6 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.4622, allocations: 12 kB / 445.6 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002545/0.4625, allocations: 117.9 kB / 445.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.4628, allocations: 177.8 kB / 445.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.4628, allocations: 0 / 445.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.4629, allocations: 2.078 kB / 445.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.4629, allocations: 12 kB / 445.9 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.464, allocations: 0.7647 MB / 446.7 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.4643, allocations: 144.4 kB / 446.8 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.4645, allocations: 67.42 kB / 446.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.4645, allocations: 0 / 446.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.4645, allocations: 34.55 kB / 446.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.143e-06/0.4645, allocations: 0 / 446.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003885/0.4649, allocations: 151.1 kB / 447.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.465, allocations: 55.41 kB / 447.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.4651, allocations: 136.6 kB / 447.3 MB, free: 12.26 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.4651, allocations: 25.7 kB / 447.3 MB, free: 12.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.4653, allocations: 146.1 kB / 447.4 MB, free: 12.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.4653, allocations: 50.52 kB / 447.5 MB, free: 12.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/0.4653, allocations: 4 kB / 447.5 MB, free: 12.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.4654, allocations: 318.6 kB / 447.8 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.368e-05/0.4655, allocations: 39.44 kB / 447.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.142e-05/0.4656, allocations: 77.05 kB / 447.9 MB, free: 11.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.458e-05/0.4657, allocations: 38.42 kB / 447.9 MB, free: 11.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4657, allocations: 0 / 447.9 MB, free: 11.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002623/0.466, allocations: 168.8 kB / 448.1 MB, free: 11.47 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.466, allocations: 8.094 kB / 448.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.466, allocations: 0 / 448.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/0.4662, allocations: 31.59 kB / 448.2 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.4663, allocations: 39.48 kB / 448.2 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.4674, allocations: 1.307 MB / 449.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.4676, allocations: 27.28 kB / 449.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.4676, allocations: 4.062 kB / 449.5 MB, free: 10.01 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 9.399e-05/0.4677, allocations: 120.8 kB / 449.6 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002475/0.468, allocations: 146.5 kB / 449.8 MB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.468, allocations: 15.95 kB / 449.8 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.359e-05/0.4681, allocations: 22.8 kB / 449.8 MB, free: 9.734 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.4681, allocations: 7.953 kB / 449.8 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.4681, allocations: 0 / 449.8 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4681, allocations: 0 / 449.8 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005115/0.4686, allocations: 449.3 kB / 450.3 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.4686, allocations: 0 / 450.3 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.4688, allocations: 27.98 kB / 450.3 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001005/0.4689, allocations: 27.72 kB / 450.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.4689, allocations: 3.984 kB / 450.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.4699, allocations: 1.305 MB / 451.6 MB, free: 7.895 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.47, allocations: 0 / 451.6 MB, free: 7.895 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.4704, allocations: 308 kB / 451.9 MB, free: 7.629 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.285e-05/0.4705, allocations: 100.5 kB / 452 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.4705, allocations: 3.938 kB / 452 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.4707, allocations: 19.98 kB / 452.1 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.404e-05/0.4708, allocations: 23.97 kB / 452.1 MB, free: 7.473 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.4708, allocations: 4 kB / 452.1 MB, free: 7.469 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.732e-05/0.4709, allocations: 111.3 kB / 452.2 MB, free: 7.371 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.4709, allocations: 4 kB / 452.2 MB, free: 7.367 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003827/0.4713, allocations: 55.78 kB / 452.3 MB, free: 7.312 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.0006676/0.472, allocations: 0.8328 MB / 453.1 MB, free: 6.508 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003603/0.4724, allocations: 226.1 kB / 453.3 MB, free: 6.312 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4724, allocations: 0 / 453.3 MB, free: 6.312 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.4726, allocations: 163.8 kB / 453.5 MB, free: 6.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.4728, allocations: 31.25 kB / 453.5 MB, free: 6.137 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007762/0.4736, allocations: 317.4 kB / 453.8 MB, free: 5.812 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.474, allocations: 0.7397 MB / 454.5 MB, free: 5.047 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.338e-05/0.4741, allocations: 13.2 kB / 454.6 MB, free: 5.031 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.239e-05/0.4742, allocations: 59.41 kB / 454.6 MB, free: 5.008 MB / 330.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4742, allocations: 0 / 454.6 MB, free: 5.008 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.4968, allocations: 3.205 MB / 457.8 MB, free: 1.805 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/0.4971, allocations: 154.5 kB / 458 MB, free: 1.609 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.274, allocations: 0 / 458 MB, free: 1.609 MB / 330.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