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.001457/0.001456, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001552/0.001552, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2256/0.2256, allocations: 46.12 MB / 344.2 MB, free: 11.57 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.002299/0.002299, allocations: 85.02 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1267, allocations: 62.44 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.2968/0.4235, allocations: 75.43 MB / 0.5426 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04421/0.4678, allocations: 33.5 MB / 0.5753 GB, free: 6.176 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002301/0.4702, allocations: 43.75 kB / 0.5754 GB, free: 6.133 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003263/0.4735, allocations: 1.041 MB / 0.5764 GB, free: 5.086 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01567/0.4891, allocations: 5.12 MB / 0.5814 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02042/0.5096, allocations: 6.334 MB / 0.5876 GB, free: 9.637 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008074/0.5177, allocations: 5.186 MB / 0.5926 GB, free: 4.441 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002321/0.5201, allocations: 1.324 MB / 0.5939 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01219/0.5323, allocations: 5.293 MB / 0.5991 GB, free: 13.74 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003196/0.5355, allocations: 1.588 MB / 0.6007 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006065/0.5362, allocations: 196 kB / 0.6008 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01628/0.5525, allocations: 7.099 MB / 0.6078 GB, free: 4.848 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001256/0.5538, allocations: 0.7246 MB / 0.6085 GB, free: 4.121 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001686/0.5555, allocations: 1.097 MB / 0.6096 GB, free: 3.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01584/0.5713, allocations: 6.668 MB / 0.6161 GB, free: 12.33 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.5713, allocations: 0 / 0.6161 GB, free: 12.33 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.5714, allocations: 0 / 0.6161 GB, free: 12.33 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.426e-05/0.5714, allocations: 3.938 kB / 0.6161 GB, free: 12.33 MB / 462.1 MB 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.007248/0.5787, allocations: 2.814 MB / 0.6188 GB, free: 9.457 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.5787, allocations: 8.031 kB / 0.6188 GB, free: 9.449 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003998/0.5792, allocations: 273.3 kB / 0.6191 GB, free: 9.172 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006452/0.5856, allocations: 0.8104 MB / 0.6199 GB, free: 8.359 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002037/0.5877, allocations: 1.053 MB / 0.6209 GB, free: 7.266 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004538/0.5881, allocations: 461.2 kB / 0.6213 GB, free: 6.754 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002864/0.5884, allocations: 167.9 kB / 0.6215 GB, free: 6.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007007/0.5955, allocations: 3.135 MB / 0.6246 GB, free: 3.199 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.692e-05/0.5955, allocations: 11.88 kB / 0.6246 GB, free: 3.188 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002312/0.5958, allocations: 87.98 kB / 0.6247 GB, free: 3.102 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/0.5959, allocations: 86.64 kB / 0.6247 GB, free: 3.016 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00711/0.603, allocations: 2.703 MB / 0.6274 GB, free: 312 kB / 462.1 MB 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.01968/0.6227, allocations: 15.76 MB / 0.6428 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00461/0.6273, allocations: 1.391 MB / 0.6441 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.6288, allocations: 0.5423 MB / 0.6447 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/0.63, allocations: 0.6947 MB / 0.6453 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.065e-05/0.6301, allocations: 55.56 kB / 0.6454 GB, free: 12.63 MB / 494.1 MB Notification: Performance of pre-optimization done (n=101): time 2.585e-06/0.6301, allocations: 0 / 0.6454 GB, free: 12.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=117): time 0.0179/0.648, allocations: 5.216 MB / 0.6505 GB, free: 7.344 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.6482, allocations: 167.2 kB / 0.6506 GB, free: 7.145 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/0.6502, allocations: 1.465 MB / 0.6521 GB, free: 5.668 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001187/0.6503, allocations: 45.7 kB / 0.6521 GB, free: 5.617 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008209/0.6511, allocations: 0.9361 MB / 0.653 GB, free: 4.668 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004034/0.6516, allocations: 422.2 kB / 0.6534 GB, free: 4.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000622/0.6522, allocations: 459.9 kB / 0.6539 GB, free: 3.793 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.6523, allocations: 309.1 kB / 0.6542 GB, free: 3.488 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/0.654, allocations: 0.6759 MB / 0.6548 GB, free: 2.809 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002631/0.6566, allocations: 1.926 MB / 0.6567 GB, free: 272 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004559/0.6612, allocations: 2.775 MB / 0.6594 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.04e-05/0.6612, allocations: 12 kB / 0.6594 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005938/0.6672, allocations: 2.812 MB / 0.6622 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.47e-05/0.6672, allocations: 23.98 kB / 0.6622 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-05/0.6673, allocations: 47.94 kB / 0.6622 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/0.6687, allocations: 435.2 kB / 0.6627 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/0.6704, allocations: 0.5225 MB / 0.6632 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/0.673, allocations: 2.748 MB / 0.6659 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/0.6747, allocations: 144.1 kB / 0.666 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002072/0.675, allocations: 136 kB / 0.6661 GB, free: 5.895 MB / 0.4981 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.0009639/0.6759, allocations: 0.5513 MB / 0.6667 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004024/0.6763, allocations: 170 kB / 0.6668 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0076/0.6839, allocations: 4.97 MB / 0.6717 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.813e-05/0.684, allocations: 47.94 kB / 0.6717 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.684, allocations: 3.938 kB / 0.6717 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/0.6841, allocations: 7.969 kB / 0.6717 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/0.6947, allocations: 7.115 MB / 0.6787 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.6948, allocations: 0 / 0.6787 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.6958, allocations: 252 kB / 0.6789 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001405/0.6973, allocations: 454.9 kB / 0.6794 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.841e-05/0.6973, allocations: 24 kB / 0.6794 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002523/0.6999, allocations: 2.799 MB / 0.6821 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6999, allocations: 0 / 0.6821 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007082/0.707, allocations: 4.08 MB / 0.6861 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008383/0.7078, allocations: 413.9 kB / 0.6865 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002956/0.7081, allocations: 75.34 kB / 0.6866 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009955/0.7091, allocations: 83.92 kB / 0.6866 GB, free: 420 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/0.7094, allocations: 104.9 kB / 0.6867 GB, free: 316 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-05/0.7095, allocations: 43.98 kB / 0.6868 GB, free: 272 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001806/0.7113, allocations: 1.24 MB / 0.688 GB, free: 15 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7113, allocations: 3.938 kB / 0.688 GB, free: 15 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004204/0.7155, allocations: 1.406 MB / 0.6894 GB, free: 13.59 MB / 0.5294 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.01179/0.7273, allocations: 5.936 MB / 0.6952 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006449/0.7338, allocations: 2.501 MB / 0.6976 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/0.7338, allocations: 8.375 kB / 0.6976 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002533/0.7364, allocations: 1.359 MB / 0.6989 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00457/0.7409, allocations: 0.9338 MB / 0.6999 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2379/0.9788, allocations: 21.24 MB / 0.7206 GB, free: 199 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/0.9802, allocations: 1.654 MB / 0.7222 GB, free: 198.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002335/0.9825, allocations: 0.9593 MB / 0.7232 GB, free: 198.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/0.9835, allocations: 0.9174 MB / 0.724 GB, free: 198.2 MB / 0.545 GB Notification: Performance of SimCode: time 7.01e-07/0.9836, allocations: 0 / 0.724 GB, free: 198.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.133/1.117, allocations: 89.28 MB / 0.8112 GB, free: 126.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.55/16.67, allocations: 18.91 kB / 0.8113 GB, free: 126.1 MB / 0.545 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)