Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",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.001708/0.001708, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.841/1.841, allocations: 223.2 MB / 241 MB, free: 10.16 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.001145/0.001145, allocations: 97.08 kB / 292.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4554/0.4554, allocations: 44.21 MB / 387.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.0003786, allocations: 8 kB / 460 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4856/0.486, allocations: 61.9 MB / 0.5096 GB, free: 37.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.884/8.37, allocations: 2.771 GB / 3.28 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/8.371, allocations: 90.23 kB / 3.28 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.008/11.38, allocations: 0.8182 GB / 4.099 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.785e-06/11.38, allocations: 3.938 kB / 4.099 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.000157/11.38, allocations: 49.73 kB / 4.099 GB, free: 14.89 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.01316/11.39, allocations: 3.12 MB / 4.102 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.616e-05/11.39, allocations: 8.031 kB / 4.102 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007961/11.39, allocations: 261.2 kB / 4.102 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006433/11.4, allocations: 0.8496 MB / 4.103 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002577/11.4, allocations: 1.107 MB / 4.104 GB, free: 9.445 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000278/11.4, allocations: 464.4 kB / 4.104 GB, free: 8.93 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002475/11.4, allocations: 164 kB / 4.105 GB, free: 8.77 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005967/11.41, allocations: 3.21 MB / 4.108 GB, free: 5.281 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.405e-05/11.41, allocations: 11.88 kB / 4.108 GB, free: 5.27 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002044/11.41, allocations: 76 kB / 4.108 GB, free: 5.195 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.881e-05/11.41, allocations: 86.66 kB / 4.108 GB, free: 5.109 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005656/11.41, allocations: 2.769 MB / 4.111 GB, free: 2.332 MB / 0.5417 GB 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.01881/11.43, allocations: 15.74 MB / 4.126 GB, free: 1.52 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004225/11.44, allocations: 1.45 MB / 4.127 GB, free: 60 kB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3895/11.83, allocations: 0.6801 MB / 4.128 GB, free: 49.14 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.24e-05/11.83, allocations: 51.69 kB / 4.128 GB, free: 49.1 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=101): time 3.296e-06/11.83, allocations: 0 / 4.128 GB, free: 49.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=117): time 0.01632/11.84, allocations: 5.374 MB / 4.133 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/11.84, allocations: 169.7 kB / 4.134 GB, free: 48.41 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/11.85, allocations: 1.276 MB / 4.135 GB, free: 48.22 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/11.85, allocations: 49.42 kB / 4.135 GB, free: 48.19 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006303/11.85, allocations: 0.9421 MB / 4.136 GB, free: 47.78 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003027/11.85, allocations: 413.2 kB / 4.136 GB, free: 47.59 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.108e-05/11.85, allocations: 48.56 kB / 4.136 GB, free: 47.59 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001649/11.85, allocations: 398.1 kB / 4.137 GB, free: 47.28 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00158/11.85, allocations: 0.7027 MB / 4.137 GB, free: 47.27 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001928/11.85, allocations: 1.949 MB / 4.139 GB, free: 45.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/11.85, allocations: 1.034 MB / 4.14 GB, free: 45.69 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.719e-05/11.85, allocations: 13.19 kB / 4.14 GB, free: 45.69 MB / 0.5573 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005346/11.86, allocations: 2.885 MB / 4.143 GB, free: 45.51 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/11.86, allocations: 23.16 kB / 4.143 GB, free: 45.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.326e-05/11.86, allocations: 42 kB / 4.143 GB, free: 45.51 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/11.86, allocations: 443.5 kB / 4.143 GB, free: 45.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/11.86, allocations: 0.5295 MB / 4.144 GB, free: 45.47 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/11.86, allocations: 2.734 MB / 4.147 GB, free: 43.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/11.86, allocations: 228.9 kB / 4.147 GB, free: 43.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/11.86, allocations: 139 kB / 4.147 GB, free: 43.39 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 28 (sink2.medium.phase,source2.medium.phase,sink1.medium.phase,source1.medium.phase,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.heatTransfer.states[1].phase,volume1_1.regularFlow[1],volume1_1.regularFlow[2],volume1_1.regularFlow[3],volume1_2.regularFlow[1],volume1_2.regularFlow[2],volume1_2.regularFlow[3],volume2_1.regularFlow[1],volume2_1.regularFlow[2],volume2_2.regularFlow[1],volume2_2.regularFlow[2],volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],volume1_2.inFlow[3],volume1_2.inFlow[2],volume1_2.inFlow[1],volume1_1.inFlow[3],volume1_1.inFlow[2],volume1_1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 261 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 7,1 7,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0009922/11.87, allocations: 0.5404 MB / 4.148 GB, free: 43.28 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002796/11.87, allocations: 179.6 kB / 4.148 GB, free: 43.19 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006425/11.87, allocations: 5.077 MB / 4.153 GB, free: 42.67 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.23e-05/11.87, allocations: 53.58 kB / 4.153 GB, free: 42.67 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.098e-06/11.87, allocations: 0 / 4.153 GB, free: 42.67 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/11.87, allocations: 10.7 kB / 4.153 GB, free: 42.66 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/11.88, allocations: 7.174 MB / 4.16 GB, free: 42.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/11.88, allocations: 3.656 kB / 4.16 GB, free: 42.02 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000948/11.88, allocations: 271.5 kB / 4.16 GB, free: 42.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/11.88, allocations: 440.3 kB / 4.16 GB, free: 41.98 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-05/11.88, allocations: 32.56 kB / 4.16 GB, free: 41.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/11.89, allocations: 2.783 MB / 4.163 GB, free: 39.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/11.89, allocations: 5.531 kB / 4.163 GB, free: 39.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008663/11.9, allocations: 4.336 MB / 4.167 GB, free: 39.15 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/11.9, allocations: 0.554 MB / 4.168 GB, free: 38.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002735/11.9, allocations: 29.28 kB / 4.168 GB, free: 38.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/11.9, allocations: 142.3 kB / 4.168 GB, free: 38.87 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002361/11.9, allocations: 115.9 kB / 4.168 GB, free: 38.86 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.585e-05/11.9, allocations: 50.52 kB / 4.168 GB, free: 38.86 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002002/11.9, allocations: 1.21 MB / 4.169 GB, free: 38.72 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.01e-07/11.9, allocations: 0 / 4.169 GB, free: 38.72 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008494/11.91, allocations: 1.498 MB / 4.171 GB, free: 38.67 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 32 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,sink1.medium.phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0183/11.93, allocations: 7.481 MB / 4.178 GB, free: 36.65 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006134/11.93, allocations: 2.287 MB / 4.18 GB, free: 36.61 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/11.93, allocations: 4.719 kB / 4.18 GB, free: 36.61 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002682/11.94, allocations: 1.371 MB / 4.182 GB, free: 36.58 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004975/11.94, allocations: 0.8811 MB / 4.183 GB, free: 36.57 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03659/11.98, allocations: 43.1 MB / 4.225 GB, free: 17.85 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/11.98, allocations: 1.703 MB / 4.226 GB, free: 17.11 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002693/11.98, allocations: 0.9574 MB / 4.227 GB, free: 17.09 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/11.98, allocations: 0.9317 MB / 4.228 GB, free: 17.08 MB / 0.573 GB Notification: Performance of SimCode: time 1.583e-06/11.98, allocations: 0.75 kB / 4.228 GB, free: 17.08 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1674/12.15, allocations: 89.66 MB / 4.316 GB, free: 10.49 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/12.15, allocations: 268.5 kB / 4.316 GB, free: 10.12 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.644/17.8, allocations: 4 kB / 4.316 GB, free: 10.12 MB / 0.573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat does not exist to compare? outputFormat=mat