Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.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.Fluid.Examples.Explanatory.MeasuringTemperature,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_Explanatory_MeasuringTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_Explanatory_MeasuringTemperature",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.00179/0.00179, allocations: 180.2 kB / 16.39 MB, free: 5.766 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.573/1.573, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000945/0.0009445, allocations: 93.98 kB / 291.5 MB, free: 10.67 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003007/0.0003007, allocations: 8 kB / 351.2 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3408, allocations: 50.41 MB / 401.6 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.962/7.303, allocations: 2.761 GB / 3.153 GB, free: 108.6 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/7.303, allocations: 85.33 kB / 3.153 GB, free: 108.6 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576/10.88, allocations: 0.9791 GB / 4.133 GB, free: 29.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.146e-06/10.88, allocations: 0 / 4.133 GB, free: 29.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002758/10.88, allocations: 54.94 kB / 4.133 GB, free: 29.26 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.01597/10.9, allocations: 3.594 MB / 4.136 GB, free: 27.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/10.9, allocations: 10.75 kB / 4.136 GB, free: 27.41 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001698/10.9, allocations: 278 kB / 4.136 GB, free: 27.37 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01429/10.91, allocations: 1.214 MB / 4.138 GB, free: 27.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005382/10.92, allocations: 1.538 MB / 4.139 GB, free: 26.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004874/10.92, allocations: 344.9 kB / 4.139 GB, free: 26.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00114/10.92, allocations: 189.6 kB / 4.14 GB, free: 26.62 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01241/10.93, allocations: 3.528 MB / 4.143 GB, free: 26.18 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000164/10.93, allocations: 8.656 kB / 4.143 GB, free: 26.17 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001191/10.93, allocations: 86.62 kB / 4.143 GB, free: 26.17 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000195/10.93, allocations: 107.2 kB / 4.143 GB, free: 26.17 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01005/10.94, allocations: 3.51 MB / 4.147 GB, free: 25.39 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02773/10.97, allocations: 14.44 MB / 4.161 GB, free: 15.64 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00696/10.98, allocations: 2.861 MB / 4.164 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01537/10.99, allocations: 8.244 MB / 4.172 GB, free: 7.074 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.174e-05/10.99, allocations: 60.7 kB / 4.172 GB, free: 7.008 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003931/11, allocations: 0.5689 MB / 4.172 GB, free: 6.566 MB / 490.7 MB Notification: Performance of pre-optimization done (n=175): time 1.532e-05/11, allocations: 0 / 4.172 GB, free: 6.566 MB / 490.7 MB Notification: Performance of matching and sorting (n=205): time 0.03931/11.04, allocations: 12.34 MB / 4.184 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/11.04, allocations: 154.3 kB / 4.184 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00211/11.04, allocations: 1.235 MB / 4.186 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004678/11.04, allocations: 65.64 kB / 4.186 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006409/11.04, allocations: 0.7803 MB / 4.186 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008274/11.04, allocations: 0.6833 MB / 4.187 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/11.04, allocations: 40 kB / 4.187 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001962/11.04, allocations: 388.1 kB / 4.188 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002563/11.04, allocations: 1.267 MB / 4.189 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002818/11.05, allocations: 1.689 MB / 4.19 GB, free: 6.742 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002634/11.05, allocations: 1.368 MB / 4.192 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.968e-06/11.05, allocations: 4 kB / 4.192 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of matching and sorting (n=272) (initialization): time 0.008339/11.06, allocations: 3.922 MB / 4.196 GB, free: 1.762 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/11.06, allocations: 12 kB / 4.196 GB, free: 1.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/11.06, allocations: 12 kB / 4.196 GB, free: 1.738 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004613/11.06, allocations: 1.549 MB / 4.197 GB, free: 196 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4206/11.48, allocations: 454.8 kB / 4.198 GB, free: 45.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006238/11.49, allocations: 6.598 MB / 4.204 GB, free: 40.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003567/11.49, allocations: 221.5 kB / 4.204 GB, free: 40.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005459/11.49, allocations: 110.9 kB / 4.204 GB, free: 40.46 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 21 (openTankCold2.heatTransfer.states[1].phase,openTankCold2.regularFlow[1],openTankCold2.inFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold1.regularFlow[1],openTankCold1.inFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankHot1.regularFlow[1],openTankHot1.inFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot2.regularFlow[1],openTankHot2.inFlow[1],mFlow1.medium.phase,mFlow2.medium.phase,openTankCold3.heatTransfer.states[1].phase,openTankCold3.regularFlow[1],openTankCold3.inFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankHot3.regularFlow[1],openTankHot3.inFlow[1],mFlow3.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (213): * Single equations (assignments): 204 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {1 5,1 5,4 6,1 5,1 5,4 6,1 5,1 5,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.001521/11.49, allocations: 0.5181 MB / 4.205 GB, free: 40.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005691/11.5, allocations: 199 kB / 4.205 GB, free: 40.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/11.51, allocations: 9.853 MB / 4.215 GB, free: 39.69 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.651e-05/11.51, allocations: 106.9 kB / 4.215 GB, free: 39.69 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.95e-05/11.51, allocations: 8.688 kB / 4.215 GB, free: 39.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.083e-05/11.51, allocations: 12 kB / 4.215 GB, free: 39.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02155/11.53, allocations: 13.36 MB / 4.228 GB, free: 38.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.77e-05/11.53, allocations: 0.8906 kB / 4.228 GB, free: 38.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001966/11.53, allocations: 404.5 kB / 4.228 GB, free: 38.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006673/11.54, allocations: 4.138 MB / 4.232 GB, free: 38.63 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004843/11.54, allocations: 65.03 kB / 4.232 GB, free: 38.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007446/11.55, allocations: 8.777 MB / 4.241 GB, free: 33.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/11.55, allocations: 0 / 4.241 GB, free: 33.87 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01605/11.56, allocations: 10.72 MB / 4.251 GB, free: 33.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003102/11.57, allocations: 0.9115 MB / 4.252 GB, free: 32.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007339/11.57, allocations: 41.31 kB / 4.252 GB, free: 32.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002474/11.57, allocations: 233.8 kB / 4.252 GB, free: 32.76 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005453/11.57, allocations: 233.9 kB / 4.253 GB, free: 32.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002003/11.57, allocations: 89.05 kB / 4.253 GB, free: 32.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001855/11.57, allocations: 1.251 MB / 4.254 GB, free: 32.61 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.62e-07/11.57, allocations: 0 / 4.254 GB, free: 32.61 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009222/11.58, allocations: 1.929 MB / 4.256 GB, free: 32.54 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (openTankCold2.medium.h,openTankCold2.level,openTankCold1.medium.h,openTankCold1.level,openTankHot1.medium.h,openTankHot1.level,openTankHot2.medium.h,openTankHot2.level,openTankCold3.medium.h,openTankCold3.level,openTankHot3.medium.h,openTankHot3.level) * Number of discrete variables: 71 ($cse1.phase,$cse1.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.region3boundary,$cse30.region3boundary,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.region3boundary,$cse34.region3boundary,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse41.phase,$cse41.region,$cse43.phase,$cse43.region,$cse46.phase,$cse46.region,$cse48.phase,$cse48.region,$cse49.region3boundary,$cse50.region3boundary,$cse51.phase,$cse51.region,$cse52.phase,$cse52.region,openTankCold2.heatTransfer.states[1].phase,openTankCold2.regularFlow[1],openTankCold2.inFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold1.regularFlow[1],openTankCold1.inFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankHot1.regularFlow[1],openTankHot1.inFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot2.regularFlow[1],openTankHot2.inFlow[1],mFlow1.medium.phase,mFlow2.medium.phase,openTankCold3.heatTransfer.states[1].phase,openTankCold3.regularFlow[1],openTankCold3.inFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankHot3.regularFlow[1],openTankHot3.inFlow[1],mFlow3.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (173): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {2 4,2 4,6 9,2 4,2 4,6 9,2 4,2 4,6 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.02586/11.61, allocations: 12.69 MB / 4.268 GB, free: 31.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00967/11.62, allocations: 4.226 MB / 4.272 GB, free: 31.02 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/11.62, allocations: 0.5625 kB / 4.272 GB, free: 31.02 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005887/11.62, allocations: 3.144 MB / 4.275 GB, free: 30.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005416/11.63, allocations: 1.051 MB / 4.276 GB, free: 30.94 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04483/11.67, allocations: 28.25 MB / 4.304 GB, free: 17.06 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002864/11.68, allocations: 2.234 MB / 4.306 GB, free: 16.29 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004893/11.68, allocations: 1.738 MB / 4.308 GB, free: 16.26 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002419/11.68, allocations: 1.321 MB / 4.309 GB, free: 16.25 MB / 0.4948 GB Notification: Performance of SimCode: time 1.263e-06/11.68, allocations: 3.875 kB / 4.309 GB, free: 16.25 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.576/12.26, allocations: 123.9 MB / 4.43 GB, free: 58.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/12.26, allocations: 253.2 kB / 4.431 GB, free: 57.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.802/19.06, allocations: 6.469 kB / 4.431 GB, free: 57.75 MB / 0.5105 GB (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Fluid_Examples_Explanatory_MeasuringTemperature_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Fluid_Examples_Explanatory_MeasuringTemperature.fmu > Modelica_4.0.0_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature_res.mat does not exist to compare? outputFormat=mat