Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001391/0.001391, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001431/0.001431, allocations: 201.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2322/0.2322, allocations: 46.11 MB / 344.4 MB, free: 11.46 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 75.88 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3763, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.08339/0.4597, allocations: 75.45 MB / 0.6043 GB, free: 6.023 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04553/0.5053, allocations: 33.5 MB / 0.637 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002272/0.5077, allocations: 43.75 kB / 0.637 GB, free: 4.375 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003168/0.5108, allocations: 1.037 MB / 0.6381 GB, free: 3.332 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01349/0.5244, allocations: 5.122 MB / 0.6431 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01644/0.5408, allocations: 6.328 MB / 0.6492 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007832/0.5487, allocations: 5.18 MB / 0.6543 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002511/0.5512, allocations: 1.332 MB / 0.6556 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01231/0.5636, allocations: 5.289 MB / 0.6608 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003234/0.5668, allocations: 1.592 MB / 0.6623 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007444/0.5676, allocations: 196 kB / 0.6625 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01673/0.5843, allocations: 7.237 MB / 0.6696 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001334/0.5857, allocations: 0.7169 MB / 0.6703 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001704/0.5874, allocations: 1.097 MB / 0.6713 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01552/0.603, allocations: 6.712 MB / 0.6779 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.603, allocations: 3.938 kB / 0.6779 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.893e-06/0.603, allocations: 0 / 0.6779 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.269e-05/0.6031, allocations: 0 / 0.6779 GB, free: 10.39 MB / 0.5294 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.006949/0.61, allocations: 2.889 MB / 0.6807 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.6101, allocations: 12.03 kB / 0.6807 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003545/0.6105, allocations: 261.3 kB / 0.681 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006411/0.6169, allocations: 0.8231 MB / 0.6818 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/0.6191, allocations: 1.112 MB / 0.6829 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004028/0.6196, allocations: 461 kB / 0.6833 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002918/0.6199, allocations: 175.9 kB / 0.6835 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007354/0.6272, allocations: 3.131 MB / 0.6865 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.392e-05/0.6273, allocations: 15.86 kB / 0.6866 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002545/0.6276, allocations: 83.98 kB / 0.6866 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/0.6277, allocations: 82.66 kB / 0.6867 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007474/0.6352, allocations: 2.695 MB / 0.6893 GB, free: 14.23 MB / 0.545 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.02091/0.6561, allocations: 15.75 MB / 0.7047 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004531/0.6607, allocations: 1.392 MB / 0.7061 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/0.662, allocations: 0.5347 MB / 0.7066 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/0.6633, allocations: 0.6986 MB / 0.7073 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.582e-05/0.6633, allocations: 47.56 kB / 0.7073 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=101): time 3.156e-06/0.6633, allocations: 0 / 0.7073 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=117): time 0.01742/0.6808, allocations: 5.248 MB / 0.7125 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.6809, allocations: 171.2 kB / 0.7126 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002/0.6829, allocations: 1.461 MB / 0.714 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/0.6831, allocations: 49.7 kB / 0.7141 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007703/0.6839, allocations: 0.9707 MB / 0.715 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003791/0.6842, allocations: 432.4 kB / 0.7155 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005855/0.6848, allocations: 464.2 kB / 0.7159 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.685, allocations: 305.1 kB / 0.7162 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/0.6867, allocations: 0.6837 MB / 0.7169 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2511/0.9378, allocations: 1.918 MB / 0.7187 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004821/0.9426, allocations: 2.779 MB / 0.7214 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.371e-05/0.9427, allocations: 11.19 kB / 0.7215 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.006323/0.949, allocations: 2.824 MB / 0.7242 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.412e-05/0.9491, allocations: 26.69 kB / 0.7242 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.418e-05/0.9492, allocations: 47.06 kB / 0.7243 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/0.9506, allocations: 432.6 kB / 0.7247 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.9522, allocations: 0.5232 MB / 0.7252 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/0.9539, allocations: 2.746 MB / 0.7279 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.9556, allocations: 144.8 kB / 0.728 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/0.9558, allocations: 135.5 kB / 0.7282 GB, free: 165.2 MB / 0.5606 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,volume2_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume1_1.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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,7), (1,7), (1,7), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0007829/0.9566, allocations: 0.5472 MB / 0.7287 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000347/0.957, allocations: 179.7 kB / 0.7289 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006062/0.9631, allocations: 4.961 MB / 0.7337 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-05/0.9631, allocations: 50.83 kB / 0.7338 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.9631, allocations: 256 / 0.7338 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.9631, allocations: 7.688 kB / 0.7338 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007529/0.9707, allocations: 7.116 MB / 0.7407 GB, free: 159 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.9707, allocations: 2.188 kB / 0.7407 GB, free: 159 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009207/0.9716, allocations: 255.1 kB / 0.741 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001197/0.9728, allocations: 439.3 kB / 0.7414 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-05/0.9729, allocations: 31.16 kB / 0.7414 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/0.9746, allocations: 2.786 MB / 0.7441 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.9746, allocations: 6.75 kB / 0.7441 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005463/0.9801, allocations: 4.096 MB / 0.7481 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008434/0.9809, allocations: 423.3 kB / 0.7485 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002815/0.9812, allocations: 78.66 kB / 0.7486 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009135/0.9822, allocations: 83.64 kB / 0.7487 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/0.9824, allocations: 104.8 kB / 0.7488 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.135e-05/0.9824, allocations: 51.92 kB / 0.7488 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001299/0.9837, allocations: 1.232 MB / 0.75 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9837, allocations: 0 / 0.75 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004228/0.988, allocations: 1.423 MB / 0.7514 GB, free: 150.3 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,5), (2,5), (2,5), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01114/0.9991, allocations: 5.939 MB / 0.7572 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004373/1.004, allocations: 2.248 MB / 0.7594 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/1.004, allocations: 5.438 kB / 0.7594 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002034/1.006, allocations: 1.353 MB / 0.7607 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004215/1.01, allocations: 0.9391 MB / 0.7617 GB, free: 140 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02335/1.033, allocations: 19.35 MB / 0.7806 GB, free: 119 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008125/1.034, allocations: 1.656 MB / 0.7822 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001792/1.036, allocations: 0.9659 MB / 0.7831 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007625/1.037, allocations: 0.921 MB / 0.784 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of SimCode: time 8.11e-07/1.037, allocations: 0 / 0.784 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1174/1.154, allocations: 89.89 MB / 0.8718 GB, free: 25.83 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.83/19.98, allocations: 3.75 kB / 0.8718 GB, free: 25.83 MB / 0.5606 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1)