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.001431/0.001431, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.792/1.792, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.000895/0.000895, allocations: 86.62 kB / 261.8 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2103/0.2103, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.144e-05/2.134e-05, allocations: 7.984 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1266, allocations: 58.86 MB / 477.2 MB, free: 1.527 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.312/7.439, allocations: 2.765 GB / 3.231 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/7.439, allocations: 85.98 kB / 3.231 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.388/10.83, allocations: 0.7998 GB / 4.031 GB, free: 46.29 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.856e-06/10.83, allocations: 0 / 4.031 GB, free: 46.29 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001628/10.83, allocations: 45.36 kB / 4.031 GB, free: 46.29 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.01344/10.84, allocations: 2.969 MB / 4.034 GB, free: 44.93 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.669e-05/10.84, allocations: 14.17 kB / 4.034 GB, free: 44.93 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007381/10.85, allocations: 0.8514 MB / 4.034 GB, free: 44.83 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003303/10.85, allocations: 1.113 MB / 4.035 GB, free: 44.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003374/10.85, allocations: 395.2 kB / 4.036 GB, free: 44.18 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003109/10.85, allocations: 98.34 kB / 4.036 GB, free: 44.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003343/10.86, allocations: 1.86 MB / 4.038 GB, free: 44.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003516/10.86, allocations: 2.374 MB / 4.04 GB, free: 43.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.158e-05/10.86, allocations: 19.06 kB / 4.04 GB, free: 43.42 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001997/10.86, allocations: 18.8 kB / 4.04 GB, free: 43.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.486e-05/10.86, allocations: 85.34 kB / 4.04 GB, free: 43.41 MB / 0.5261 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.0191/10.88, allocations: 16.16 MB / 4.056 GB, free: 31.81 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/10.88, allocations: 0.7099 MB / 4.057 GB, free: 31.79 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005923/10.88, allocations: 391.5 kB / 4.057 GB, free: 31.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/10.88, allocations: 0.6822 MB / 4.058 GB, free: 31.21 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.062e-05/10.88, allocations: 52.97 kB / 4.058 GB, free: 31.17 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=95): time 3.437e-06/10.88, allocations: 2.344 kB / 4.058 GB, free: 31.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=111): time 0.01036/10.89, allocations: 3.474 MB / 4.061 GB, free: 30.45 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.996e-05/10.89, allocations: 170.1 kB / 4.061 GB, free: 30.27 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/10.89, allocations: 0.985 MB / 4.062 GB, free: 30.07 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/10.89, allocations: 25.7 kB / 4.062 GB, free: 30.04 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006672/10.9, allocations: 0.9734 MB / 4.063 GB, free: 29.46 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002837/10.9, allocations: 393.9 kB / 4.064 GB, free: 29.23 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.378e-05/10.9, allocations: 0 / 4.064 GB, free: 29.23 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000213/10.9, allocations: 450.4 kB / 4.064 GB, free: 28.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008444/10.9, allocations: 0.5084 MB / 4.065 GB, free: 28.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001801/10.9, allocations: 1.731 MB / 4.066 GB, free: 27.31 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001953/10.9, allocations: 0.8694 MB / 4.067 GB, free: 27.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.389e-05/10.9, allocations: 13.25 kB / 4.067 GB, free: 27.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005635/10.91, allocations: 2.294 MB / 4.069 GB, free: 26.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.079e-05/10.91, allocations: 26.88 kB / 4.069 GB, free: 26.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-05/10.91, allocations: 45.88 kB / 4.069 GB, free: 26.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/10.91, allocations: 418.6 kB / 4.07 GB, free: 26.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/10.91, allocations: 0.5248 MB / 4.07 GB, free: 26.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003294/10.91, allocations: 2.794 MB / 4.073 GB, free: 24.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002808/10.92, allocations: 200.9 kB / 4.073 GB, free: 24.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003431/10.92, allocations: 137.4 kB / 4.073 GB, free: 24.71 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 28 (source2.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],sink2.medium.phase,volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],sink1.medium.phase,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 {2 6,2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007492/10.92, allocations: 241 kB / 4.074 GB, free: 24.52 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003323/10.92, allocations: 1.241 MB / 4.075 GB, free: 24.34 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004451/10.92, allocations: 146.9 kB / 4.075 GB, free: 24.26 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005389/10.93, allocations: 4.198 MB / 4.079 GB, free: 22.95 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.965e-05/10.93, allocations: 45.14 kB / 4.079 GB, free: 22.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/10.93, allocations: 0 / 4.079 GB, free: 22.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/10.93, allocations: 7.266 kB / 4.079 GB, free: 22.95 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009096/10.94, allocations: 6.129 MB / 4.085 GB, free: 20.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/10.94, allocations: 3.375 kB / 4.085 GB, free: 20.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008224/10.94, allocations: 236 kB / 4.085 GB, free: 20.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/10.94, allocations: 415.5 kB / 4.086 GB, free: 19.96 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.842e-05/10.94, allocations: 12.14 kB / 4.086 GB, free: 19.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/10.94, allocations: 2.886 MB / 4.089 GB, free: 17.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/10.94, allocations: 11.52 kB / 4.089 GB, free: 17.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005129/10.94, allocations: 3.621 MB / 4.092 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001449/10.95, allocations: 0.517 MB / 4.093 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006079/10.95, allocations: 3.75 kB / 4.093 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00174/10.95, allocations: 122 kB / 4.093 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002392/10.95, allocations: 114.1 kB / 4.093 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/10.95, allocations: 43.08 kB / 4.093 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001343/10.95, allocations: 0.9422 MB / 4.094 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/10.95, allocations: 0 / 4.094 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008752/10.96, allocations: 1.395 MB / 4.095 GB, free: 14.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 26 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.01601/10.98, allocations: 7.232 MB / 4.102 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003764/10.98, allocations: 1.834 MB / 4.104 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/10.98, allocations: 4.312 kB / 4.104 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001784/10.98, allocations: 1.122 MB / 4.105 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003627/10.98, allocations: 0.5732 MB / 4.106 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/11, allocations: 4.203 MB / 4.11 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001885/11, allocations: 1.667 MB / 4.111 GB, free: 5.68 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00259/11, allocations: 1.032 MB / 4.112 GB, free: 5.055 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/11, allocations: 0.8714 MB / 4.113 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of SimCode: time 1.723e-06/11, allocations: 0 / 4.113 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6167/11.62, allocations: 72.36 MB / 4.184 GB, free: 58.56 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003455/11.62, allocations: 184.5 kB / 4.184 GB, free: 58.37 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.892/16.51, allocations: 0 / 4.184 GB, free: 58.37 MB / 0.5417 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