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.001341/0.001341, allocations: 172.3 kB / 8.741 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 221.5 MB / 230.7 MB, free: 7.527 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.001169/0.001169, allocations: 92.31 kB / 281.6 MB, free: 5.277 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.2299/0.2299, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.777e-05/1.779e-05, allocations: 224 / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1474, allocations: 61.92 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.185/7.332, allocations: 2.77 GB / 3.265 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003604/7.333, allocations: 87.92 kB / 3.265 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.835/10.17, allocations: 0.8081 GB / 4.073 GB, free: 4 kB / 0.5417 GB Notification: Performance of FrontEnd: time 1.894e-06/10.17, allocations: 4 kB / 4.073 GB, free: 0 / 0.5417 GB Notification: Performance of Transformations before backend: time 0.4836/10.65, allocations: 40.83 kB / 4.073 GB, free: 44.29 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.01435/10.67, allocations: 2.965 MB / 4.076 GB, free: 43.66 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.253e-05/10.67, allocations: 17.22 kB / 4.076 GB, free: 43.66 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007948/10.67, allocations: 0.8441 MB / 4.077 GB, free: 43.57 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004431/10.68, allocations: 1.112 MB / 4.078 GB, free: 43.24 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004917/10.68, allocations: 397.1 kB / 4.078 GB, free: 42.92 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005243/10.68, allocations: 106 kB / 4.078 GB, free: 42.92 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005063/10.68, allocations: 1.859 MB / 4.08 GB, free: 42.91 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004646/10.69, allocations: 2.384 MB / 4.083 GB, free: 42.16 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.222e-05/10.69, allocations: 8.844 kB / 4.083 GB, free: 42.16 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002986/10.69, allocations: 11.62 kB / 4.083 GB, free: 42.16 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001356/10.69, allocations: 83.45 kB / 4.083 GB, free: 42.15 MB / 0.5417 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.0241/10.71, allocations: 16.15 MB / 4.098 GB, free: 30.61 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/10.72, allocations: 0.7156 MB / 4.099 GB, free: 30.58 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008446/10.72, allocations: 385.1 kB / 4.099 GB, free: 30.57 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001382/10.72, allocations: 0.6889 MB / 4.1 GB, free: 30.01 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.163e-05/10.72, allocations: 55.23 kB / 4.1 GB, free: 29.96 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=95): time 3.527e-06/10.72, allocations: 3.938 kB / 4.1 GB, free: 29.96 MB / 0.5417 GB Notification: Performance of matching and sorting (n=111): time 0.01244/10.73, allocations: 3.473 MB / 4.104 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/10.73, allocations: 167.3 kB / 4.104 GB, free: 29.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/10.73, allocations: 0.982 MB / 4.105 GB, free: 28.91 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000184/10.73, allocations: 28.64 kB / 4.105 GB, free: 28.88 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007377/10.73, allocations: 0.9693 MB / 4.106 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003825/10.73, allocations: 395 kB / 4.106 GB, free: 28.06 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.493e-05/10.73, allocations: 3.406 kB / 4.106 GB, free: 28.06 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002247/10.73, allocations: 451.2 kB / 4.106 GB, free: 27.75 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009193/10.74, allocations: 0.5101 MB / 4.107 GB, free: 27.74 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001542/10.74, allocations: 1.731 MB / 4.109 GB, free: 26.17 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/10.74, allocations: 0.8847 MB / 4.11 GB, free: 26.16 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.918e-05/10.74, allocations: 11.34 kB / 4.11 GB, free: 26.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.004238/10.74, allocations: 2.292 MB / 4.112 GB, free: 26 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/10.74, allocations: 23.31 kB / 4.112 GB, free: 26 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.392e-05/10.74, allocations: 42.31 kB / 4.112 GB, free: 26 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/10.74, allocations: 420.2 kB / 4.112 GB, free: 25.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/10.75, allocations: 0.528 MB / 4.113 GB, free: 25.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/10.75, allocations: 2.789 MB / 4.115 GB, free: 23.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002581/10.75, allocations: 193.5 kB / 4.116 GB, free: 23.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002027/10.75, allocations: 138.3 kB / 4.116 GB, free: 23.87 MB / 0.5417 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.0005611/10.75, allocations: 239.1 kB / 4.116 GB, free: 23.73 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003046/10.75, allocations: 1.235 MB / 4.117 GB, free: 23.55 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/10.75, allocations: 151.5 kB / 4.117 GB, free: 23.48 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00492/10.76, allocations: 4.192 MB / 4.121 GB, free: 22.98 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.864e-05/10.76, allocations: 43.7 kB / 4.121 GB, free: 22.98 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/10.76, allocations: 0 / 4.121 GB, free: 22.98 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/10.76, allocations: 6.656 kB / 4.122 GB, free: 22.98 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008257/10.77, allocations: 6.137 MB / 4.127 GB, free: 22.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.477e-06/10.77, allocations: 3.719 kB / 4.128 GB, free: 22.35 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008412/10.77, allocations: 237.6 kB / 4.128 GB, free: 22.35 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009835/10.77, allocations: 415.1 kB / 4.128 GB, free: 22.32 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.059e-05/10.77, allocations: 15.11 kB / 4.128 GB, free: 22.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/10.77, allocations: 2.894 MB / 4.131 GB, free: 20.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/10.77, allocations: 5.406 kB / 4.131 GB, free: 20.22 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004191/10.78, allocations: 3.622 MB / 4.135 GB, free: 19.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/10.78, allocations: 0.5097 MB / 4.135 GB, free: 19.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/10.78, allocations: 7.688 kB / 4.135 GB, free: 19.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/10.78, allocations: 118.7 kB / 4.135 GB, free: 19.14 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/10.78, allocations: 105.7 kB / 4.135 GB, free: 19.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.08e-05/10.78, allocations: 49.48 kB / 4.135 GB, free: 19.14 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001259/10.78, allocations: 0.9393 MB / 4.136 GB, free: 19.02 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.11e-07/10.78, allocations: 2.688 kB / 4.136 GB, free: 19.02 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007522/10.79, allocations: 1.399 MB / 4.138 GB, free: 18.85 MB / 0.5417 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.0144/10.8, allocations: 7.229 MB / 4.145 GB, free: 16.34 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004073/10.81, allocations: 1.839 MB / 4.146 GB, free: 16.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/10.81, allocations: 7.594 kB / 4.146 GB, free: 16.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001955/10.81, allocations: 1.123 MB / 4.148 GB, free: 16.29 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003941/10.81, allocations: 0.5792 MB / 4.148 GB, free: 16.27 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/10.83, allocations: 4.202 MB / 4.152 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/10.83, allocations: 1.658 MB / 4.154 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002401/10.83, allocations: 1.03 MB / 4.155 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009726/10.83, allocations: 0.8772 MB / 4.156 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of SimCode: time 1.242e-06/10.83, allocations: 0 / 4.156 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1348/10.97, allocations: 72.08 MB / 4.226 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/10.97, allocations: 184.8 kB / 4.226 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.773/15.74, allocations: 0 / 4.226 GB, free: 10.69 MB / 0.5417 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