Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",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.002344/0.002343, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.939/1.939, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001226/0.001227, allocations: 86.83 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2416/0.2416, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1533, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.553/7.706, allocations: 2.765 GB / 3.244 GB, free: 78.04 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/7.707, allocations: 91.59 kB / 3.244 GB, free: 77.99 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.063/10.77, allocations: 0.8099 GB / 4.054 GB, free: 41.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.824e-06/10.77, allocations: 0 / 4.054 GB, free: 41.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000172/10.77, allocations: 46.34 kB / 4.054 GB, free: 41.59 MB / 0.5261 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.01256/10.78, allocations: 3.107 MB / 4.057 GB, free: 40.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/10.78, allocations: 10.5 kB / 4.057 GB, free: 40.09 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001182/10.78, allocations: 266.8 kB / 4.058 GB, free: 40.05 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006828/10.79, allocations: 0.8513 MB / 4.058 GB, free: 39.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002998/10.79, allocations: 1.109 MB / 4.06 GB, free: 39.58 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000396/10.79, allocations: 459.9 kB / 4.06 GB, free: 39.26 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005723/10.8, allocations: 173 kB / 4.06 GB, free: 39.26 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006142/10.8, allocations: 3.197 MB / 4.063 GB, free: 38.46 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.884e-05/10.8, allocations: 15.31 kB / 4.063 GB, free: 38.45 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002154/10.8, allocations: 89.48 kB / 4.063 GB, free: 38.45 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.673e-05/10.8, allocations: 85.19 kB / 4.063 GB, free: 38.44 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005907/10.81, allocations: 2.77 MB / 4.066 GB, free: 37.77 MB / 0.5261 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.01432/10.82, allocations: 15.74 MB / 4.082 GB, free: 24.98 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003866/10.83, allocations: 1.458 MB / 4.083 GB, free: 24.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009577/10.83, allocations: 0.6852 MB / 4.084 GB, free: 24 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/10.83, allocations: 47.41 kB / 4.084 GB, free: 23.96 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=101): time 2.805e-06/10.83, allocations: 0 / 4.084 GB, free: 23.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=117): time 0.01565/10.84, allocations: 5.378 MB / 4.089 GB, free: 22.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.593e-05/10.84, allocations: 169 kB / 4.089 GB, free: 22.03 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/10.84, allocations: 1.274 MB / 4.09 GB, free: 21.52 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001539/10.85, allocations: 48.42 kB / 4.09 GB, free: 21.48 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007171/10.85, allocations: 0.9326 MB / 4.091 GB, free: 20.74 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003676/10.85, allocations: 422.1 kB / 4.092 GB, free: 20.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/10.85, allocations: 45.22 kB / 4.092 GB, free: 20.39 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001543/10.85, allocations: 395.2 kB / 4.092 GB, free: 20.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001546/10.85, allocations: 0.7072 MB / 4.093 GB, free: 19.86 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002144/10.85, allocations: 1.942 MB / 4.095 GB, free: 18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/10.85, allocations: 1.034 MB / 4.096 GB, free: 17.65 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-05/10.85, allocations: 16.48 kB / 4.096 GB, free: 17.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005723/10.86, allocations: 2.887 MB / 4.099 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/10.86, allocations: 23.31 kB / 4.099 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-05/10.86, allocations: 46.84 kB / 4.099 GB, free: 16.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/10.86, allocations: 438.7 kB / 4.099 GB, free: 16.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/10.86, allocations: 0.5242 MB / 4.1 GB, free: 16.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/10.86, allocations: 2.736 MB / 4.102 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/10.86, allocations: 232.8 kB / 4.102 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002041/10.86, allocations: 138.3 kB / 4.103 GB, free: 13.92 MB / 0.5261 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.0009186/10.87, allocations: 0.54 MB / 4.103 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003717/10.87, allocations: 174.7 kB / 4.103 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006005/10.87, allocations: 5.078 MB / 4.108 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.849e-05/10.87, allocations: 49.84 kB / 4.108 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/10.87, allocations: 0 / 4.108 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/10.87, allocations: 3.656 kB / 4.108 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008968/10.88, allocations: 7.182 MB / 4.115 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/10.88, allocations: 4 kB / 4.115 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009262/10.88, allocations: 272 kB / 4.116 GB, free: 5.996 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/10.88, allocations: 442.4 kB / 4.116 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.822e-05/10.88, allocations: 33.44 kB / 4.116 GB, free: 5.617 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/10.89, allocations: 2.78 MB / 4.119 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/10.89, allocations: 0 / 4.119 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006074/10.89, allocations: 4.342 MB / 4.123 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/10.89, allocations: 0.554 MB / 4.123 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005125/10.89, allocations: 31.94 kB / 4.124 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/10.89, allocations: 144.8 kB / 4.124 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002291/10.9, allocations: 106.2 kB / 4.124 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/10.9, allocations: 51.45 kB / 4.124 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002206/10.9, allocations: 1.211 MB / 4.125 GB, free: 13 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/10.9, allocations: 0 / 4.125 GB, free: 13 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007696/10.91, allocations: 1.499 MB / 4.126 GB, free: 11.54 MB / 0.5417 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.01903/10.92, allocations: 7.494 MB / 4.134 GB, free: 4.883 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005212/10.93, allocations: 2.296 MB / 4.136 GB, free: 2.871 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/10.93, allocations: 0.625 kB / 4.136 GB, free: 2.867 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002593/10.93, allocations: 1.369 MB / 4.137 GB, free: 1.641 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004594/10.94, allocations: 0.8609 MB / 4.138 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3503/11.29, allocations: 43.12 MB / 4.18 GB, free: 36.82 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001546/11.29, allocations: 1.698 MB / 4.182 GB, free: 36.09 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002815/11.29, allocations: 0.9587 MB / 4.183 GB, free: 36.07 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/11.29, allocations: 0.9341 MB / 4.184 GB, free: 36.07 MB / 0.5573 GB Notification: Performance of SimCode: time 9.32e-07/11.29, allocations: 4.734 kB / 4.184 GB, free: 36.07 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1678/11.46, allocations: 89.62 MB / 4.271 GB, free: 31.73 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002372/11.46, allocations: 265.2 kB / 4.272 GB, free: 31.36 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.343/16.8, allocations: 0 / 4.272 GB, free: 31.36 MB / 0.5573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat does not exist to compare? outputFormat=mat