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.001539/0.001539, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.451/1.451, allocations: 221.3 MB / 236 MB, free: 2.984 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008391/0.0008392, allocations: 87.86 kB / 287 MB, free: 264 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2124/0.2124, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.054e-05/3.066e-05, allocations: 224 / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1294, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.4/7.53, allocations: 2.771 GB / 3.272 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/7.53, allocations: 82.91 kB / 3.273 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.427/10.96, allocations: 0.816 GB / 4.089 GB, free: 48.31 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.372e-06/10.96, allocations: 0 / 4.089 GB, free: 48.31 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.000177/10.96, allocations: 45.16 kB / 4.089 GB, free: 48.31 MB / 0.5573 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.0151/10.97, allocations: 2.977 MB / 4.091 GB, free: 47.16 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/10.97, allocations: 9.344 kB / 4.091 GB, free: 47.16 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007273/10.97, allocations: 258 kB / 4.092 GB, free: 47.11 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007182/10.98, allocations: 0.8497 MB / 4.093 GB, free: 47.02 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003415/10.98, allocations: 1.12 MB / 4.094 GB, free: 46.69 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004233/10.98, allocations: 456.8 kB / 4.094 GB, free: 46.37 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003871/10.98, allocations: 169.8 kB / 4.094 GB, free: 46.37 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007116/10.99, allocations: 3.133 MB / 4.097 GB, free: 45.6 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.452e-05/10.99, allocations: 16.81 kB / 4.097 GB, free: 45.6 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002348/10.99, allocations: 87.47 kB / 4.097 GB, free: 45.6 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/10.99, allocations: 82.11 kB / 4.097 GB, free: 45.6 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005389/11, allocations: 2.555 MB / 4.1 GB, free: 45.58 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.01761/11.01, allocations: 15.74 MB / 4.115 GB, free: 34.68 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003313/11.02, allocations: 1.34 MB / 4.117 GB, free: 34.64 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006331/11.02, allocations: 442.2 kB / 4.117 GB, free: 34.63 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/11.02, allocations: 0.6956 MB / 4.118 GB, free: 34.07 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/11.02, allocations: 54.95 kB / 4.118 GB, free: 34.02 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=101): time 2.725e-06/11.02, allocations: 3.938 kB / 4.118 GB, free: 34.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=117): time 0.01259/11.03, allocations: 4.54 MB / 4.122 GB, free: 33.32 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.989e-05/11.03, allocations: 168.6 kB / 4.122 GB, free: 33.13 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/11.03, allocations: 1.259 MB / 4.124 GB, free: 32.92 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/11.03, allocations: 49.92 kB / 4.124 GB, free: 32.89 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006414/11.04, allocations: 0.9396 MB / 4.125 GB, free: 32.39 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003148/11.04, allocations: 418.6 kB / 4.125 GB, free: 32.14 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.517e-05/11.04, allocations: 51.75 kB / 4.125 GB, free: 32.14 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000153/11.04, allocations: 396 kB / 4.125 GB, free: 31.84 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008228/11.04, allocations: 0.5571 MB / 4.126 GB, free: 31.83 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/11.04, allocations: 1.785 MB / 4.128 GB, free: 30.25 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/11.04, allocations: 0.8923 MB / 4.129 GB, free: 30.23 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.822e-05/11.04, allocations: 14.59 kB / 4.129 GB, free: 30.23 MB / 0.5573 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.003958/11.04, allocations: 2.584 MB / 4.131 GB, free: 30.06 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/11.04, allocations: 27.78 kB / 4.131 GB, free: 30.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.521e-05/11.04, allocations: 40.91 kB / 4.131 GB, free: 30.06 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/11.04, allocations: 442 kB / 4.132 GB, free: 30.03 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/11.05, allocations: 0.5173 MB / 4.132 GB, free: 30.03 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/11.05, allocations: 2.734 MB / 4.135 GB, free: 27.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/11.05, allocations: 226.2 kB / 4.135 GB, free: 27.94 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/11.05, allocations: 139 kB / 4.135 GB, free: 27.94 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 () * 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.0004755/11.05, allocations: 295.2 kB / 4.135 GB, free: 27.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002652/11.05, allocations: 172.4 kB / 4.136 GB, free: 27.71 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005866/11.06, allocations: 4.794 MB / 4.14 GB, free: 27.15 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.064e-05/11.06, allocations: 50.5 kB / 4.14 GB, free: 27.15 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/11.06, allocations: 0 / 4.14 GB, free: 27.15 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/11.06, allocations: 7.406 kB / 4.14 GB, free: 27.15 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008929/11.07, allocations: 6.899 MB / 4.147 GB, free: 26.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/11.07, allocations: 3.969 kB / 4.147 GB, free: 26.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009727/11.07, allocations: 275 kB / 4.147 GB, free: 26.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001229/11.07, allocations: 435 kB / 4.148 GB, free: 26.46 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.649e-05/11.07, allocations: 25.91 kB / 4.148 GB, free: 26.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/11.07, allocations: 2.776 MB / 4.15 GB, free: 24.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/11.07, allocations: 7.031 kB / 4.15 GB, free: 24.38 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004727/11.08, allocations: 3.903 MB / 4.154 GB, free: 23.62 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001389/11.08, allocations: 0.5626 MB / 4.155 GB, free: 23.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002449/11.08, allocations: 28.42 kB / 4.155 GB, free: 23.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/11.08, allocations: 142.6 kB / 4.155 GB, free: 23.34 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002468/11.08, allocations: 114.4 kB / 4.155 GB, free: 23.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-05/11.08, allocations: 49.72 kB / 4.155 GB, free: 23.34 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001626/11.08, allocations: 1.189 MB / 4.156 GB, free: 23.18 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/11.08, allocations: 0 / 4.156 GB, free: 23.18 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00745/11.09, allocations: 1.498 MB / 4.158 GB, free: 23 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 () * 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.0159/11.1, allocations: 7.05 MB / 4.165 GB, free: 20.87 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003809/11.11, allocations: 1.994 MB / 4.167 GB, free: 20.82 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/11.11, allocations: 3.625 kB / 4.167 GB, free: 20.82 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00171/11.11, allocations: 1.239 MB / 4.168 GB, free: 20.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004703/11.11, allocations: 0.8659 MB / 4.169 GB, free: 20.78 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/11.12, allocations: 4.538 MB / 4.173 GB, free: 19.69 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/11.13, allocations: 1.694 MB / 4.175 GB, free: 18.95 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002359/11.13, allocations: 0.9716 MB / 4.176 GB, free: 18.93 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/11.13, allocations: 0.9366 MB / 4.177 GB, free: 18.93 MB / 0.5573 GB Notification: Performance of SimCode: time 1.172e-06/11.13, allocations: 0 / 4.177 GB, free: 18.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1546/11.28, allocations: 93.94 MB / 4.268 GB, free: 10.64 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/11.28, allocations: 235.2 kB / 4.269 GB, free: 10.33 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.295/16.58, allocations: 0 / 4.269 GB, free: 10.33 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