Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1.T|Tmix2.T|Tdiff|volume1.medium.h|volume2.medium.h",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1.T|Tmix2.T|Tdiff|volume1.medium.h|volume2.medium.h",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 113.2 kB / 17.09 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 194.9 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.294/1.294, allocations: 205.1 MB / 223.9 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.201/0.201, allocations: 43.52 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 69.47 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1022, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1): time 0.2694/0.3716, allocations: 71.9 MB / 0.5588 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03169/0.4033, allocations: 28.61 MB / 0.5867 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.4048, allocations: 35.75 kB / 0.5867 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002168/0.4069, allocations: 0.8448 MB / 0.5876 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0177/0.4247, allocations: 5.849 MB / 0.5933 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01216/0.4369, allocations: 4.501 MB / 0.5977 GB, free: 8.156 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00475/0.4417, allocations: 3.771 MB / 0.6014 GB, free: 5.984 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001425/0.4431, allocations: 1.01 MB / 0.6023 GB, free: 5.297 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006/0.4491, allocations: 3.145 MB / 0.6054 GB, free: 2.891 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002018/0.4512, allocations: 1.16 MB / 0.6065 GB, free: 1.727 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004168/0.4516, allocations: 140 kB / 0.6067 GB, free: 1.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01528/0.4669, allocations: 7.141 MB / 0.6137 GB, free: 10.44 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007282/0.4676, allocations: 482.6 kB / 0.6141 GB, free: 9.969 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001532/0.4692, allocations: 0.8322 MB / 0.6149 GB, free: 9.133 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01271/0.4819, allocations: 5.908 MB / 0.6207 GB, free: 3.211 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4819, allocations: 0 / 0.6207 GB, free: 3.211 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.482, allocations: 0 / 0.6207 GB, free: 3.211 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.984e-05/0.482, allocations: 0 / 0.6207 GB, free: 3.211 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: 321 * Number of variables: 321 Notification: Performance of Generate backend data structure: time 0.006129/0.4882, allocations: 2.398 MB / 0.623 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.4882, allocations: 11.89 kB / 0.6231 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005716/0.4939, allocations: 0.7251 MB / 0.6238 GB, free: 20 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/0.4957, allocations: 0.9082 MB / 0.6246 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/0.496, allocations: 229.9 kB / 0.6249 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002343/0.4962, allocations: 125.1 kB / 0.625 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005855/0.5021, allocations: 2.24 MB / 0.6272 GB, free: 12.27 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.527e-05/0.5022, allocations: 7.938 kB / 0.6272 GB, free: 12.27 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002077/0.5024, allocations: 60 kB / 0.6272 GB, free: 12.21 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.025e-05/0.5025, allocations: 54.03 kB / 0.6273 GB, free: 12.15 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005296/0.5078, allocations: 1.971 MB / 0.6292 GB, free: 10.17 MB / 478.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.01216/0.5199, allocations: 10.8 MB / 0.6398 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003759/0.5237, allocations: 1.234 MB / 0.641 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001075/0.5248, allocations: 0.4942 MB / 0.6414 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001117/0.526, allocations: 0.6946 MB / 0.6421 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.526, allocations: 47.56 kB / 0.6422 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004452/0.5265, allocations: 110.7 kB / 0.6423 GB, free: 11.89 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 4.368e-06/0.5265, allocations: 0 / 0.6423 GB, free: 11.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=96): time 0.0124/0.5389, allocations: 3.969 MB / 0.6462 GB, free: 7.867 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/0.539, allocations: 167.2 kB / 0.6463 GB, free: 7.664 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.5402, allocations: 0.9902 MB / 0.6473 GB, free: 6.656 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.97e-05/0.5403, allocations: 45.7 kB / 0.6473 GB, free: 6.605 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000451/0.5407, allocations: 0.6575 MB / 0.648 GB, free: 5.938 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002531/0.541, allocations: 347.1 kB / 0.6483 GB, free: 5.594 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003892/0.5414, allocations: 311.2 kB / 0.6486 GB, free: 5.281 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.5415, allocations: 301.1 kB / 0.6489 GB, free: 4.984 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.5427, allocations: 0.5044 MB / 0.6494 GB, free: 4.477 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.5442, allocations: 1.133 MB / 0.6505 GB, free: 3.047 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002699/0.5469, allocations: 1.701 MB / 0.6521 GB, free: 1.059 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/0.547, allocations: 11.94 kB / 0.6521 GB, free: 1.047 MB / 494.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003505/0.5505, allocations: 1.784 MB / 0.6539 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.5505, allocations: 16 kB / 0.6539 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/0.5505, allocations: 20 kB / 0.6539 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004699/0.551, allocations: 130.2 kB / 0.6541 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.5524, allocations: 407.4 kB / 0.6544 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007545/0.5532, allocations: 1.206 MB / 0.6556 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009699/0.5542, allocations: 87.94 kB / 0.6557 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.5543, allocations: 87.98 kB / 0.6558 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001415/0.5557, allocations: 0.7421 MB / 0.6565 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00146/0.5572, allocations: 1.121 MB / 0.6576 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002642/0.5598, allocations: 1.691 MB / 0.6593 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.608e-06/0.5599, allocations: 4 kB / 0.6593 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003327/0.5632, allocations: 1.77 MB / 0.661 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.5632, allocations: 13 kB / 0.661 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.5633, allocations: 23.94 kB / 0.661 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004195/0.5637, allocations: 129.6 kB / 0.6611 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/0.565, allocations: 407.3 kB / 0.6615 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007086/0.5658, allocations: 1.21 MB / 0.6627 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000966/0.5667, allocations: 88.14 kB / 0.6628 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.5669, allocations: 91.97 kB / 0.6629 GB, free: 5.324 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * Number of states: 0 () * Number of discrete variables: 18 (sink2.medium.phase,sink1.medium.phase,source2.medium.phase,volume2.heatTransfer.states[1].phase,source1.medium.phase,volume1.heatTransfer.states[1].phase,volume1.regularFlow[1],volume1.regularFlow[2],volume2.regularFlow[1],volume2.regularFlow[2],volume2.inFlow[2],volume2.inFlow[1],volume1.inFlow[2],volume1.inFlow[1],orifice2.state_b.phase,orifice2.state_a.phase,orifice1.state_b.phase,orifice1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003506/0.5672, allocations: 293.4 kB / 0.6632 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/0.5675, allocations: 134.6 kB / 0.6633 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00594/0.5734, allocations: 4.952 MB / 0.6681 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.5734, allocations: 7.984 kB / 0.6681 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.5735, allocations: 0 / 0.6681 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004959/0.574, allocations: 405.6 kB / 0.6685 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/0.5742, allocations: 55.47 kB / 0.6686 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008948/0.5751, allocations: 107.9 kB / 0.6687 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.5753, allocations: 96.86 kB / 0.6688 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004381/0.5797, allocations: 2.675 MB / 0.6714 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005257/0.5849, allocations: 3.877 MB / 0.6752 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001584/0.5865, allocations: 1.216 MB / 0.6764 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001179/0.5877, allocations: 0.8511 MB / 0.6772 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of Backend: time 2.81e-07/0.5877, allocations: 0 / 0.6772 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009682/0.5974, allocations: 3.364 MB / 0.6805 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of SimCode: time 0.005569/0.603, allocations: 4.021 MB / 0.6844 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.09373/0.6967, allocations: 67.22 MB / 0.75 GB, free: 11.83 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe 2>&1)