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.001655/0.001655, allocations: 112.9 kB / 17.09 MB, free: 5.984 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.001905/0.001905, allocations: 198.9 kB / 18.03 MB, free: 5.055 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.443/1.443, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2202/0.2202, allocations: 43.51 MB / 314.8 MB, free: 448 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.001563/0.001563, allocations: 69.45 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1181, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1): time 0.3202/0.4383, allocations: 71.9 MB / 0.5588 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03764/0.476, allocations: 28.61 MB / 0.5867 GB, free: 0.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.4779, allocations: 33.31 kB / 0.5867 GB, free: 500 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002371/0.4803, allocations: 0.8469 MB / 0.5876 GB, free: 15.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01887/0.4992, allocations: 5.875 MB / 0.5933 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01359/0.5128, allocations: 4.517 MB / 0.5977 GB, free: 8.105 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005777/0.5186, allocations: 3.78 MB / 0.6014 GB, free: 5.934 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001781/0.5204, allocations: 0.9993 MB / 0.6024 GB, free: 5.258 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007271/0.5277, allocations: 3.16 MB / 0.6055 GB, free: 2.797 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002521/0.5302, allocations: 1.164 MB / 0.6066 GB, free: 1.629 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003166/0.5306, allocations: 140 kB / 0.6067 GB, free: 1.492 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01567/0.5462, allocations: 7.126 MB / 0.6137 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000623/0.5469, allocations: 482.5 kB / 0.6142 GB, free: 9.887 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001216/0.5481, allocations: 0.8322 MB / 0.615 GB, free: 9.051 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01366/0.5618, allocations: 5.914 MB / 0.6208 GB, free: 3.121 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.423e-06/0.5618, allocations: 4 kB / 0.6208 GB, free: 3.117 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5618, allocations: 0 / 0.6208 GB, free: 3.117 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.606e-05/0.5619, allocations: 4 kB / 0.6208 GB, free: 3.113 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.005839/0.5677, allocations: 2.455 MB / 0.6232 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.5678, allocations: 19.83 kB / 0.6232 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005726/0.5735, allocations: 0.7336 MB / 0.6239 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.5752, allocations: 0.9166 MB / 0.6248 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002085/0.5754, allocations: 237.9 kB / 0.625 GB, free: 14.63 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/0.5756, allocations: 129.1 kB / 0.6251 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005039/0.5807, allocations: 2.228 MB / 0.6273 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.21e-05/0.5807, allocations: 7.938 kB / 0.6273 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/0.5809, allocations: 59.98 kB / 0.6274 GB, free: 12.03 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.471e-05/0.581, allocations: 62.08 kB / 0.6274 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005218/0.5862, allocations: 1.971 MB / 0.6294 GB, free: 9.984 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.01282/0.599, allocations: 10.81 MB / 0.6399 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003864/0.603, allocations: 1.227 MB / 0.6411 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.6041, allocations: 0.4993 MB / 0.6416 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/0.6052, allocations: 0.6946 MB / 0.6423 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.6053, allocations: 47.56 kB / 0.6423 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005644/0.6059, allocations: 111 kB / 0.6424 GB, free: 11.69 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 4.96e-06/0.6059, allocations: 0 / 0.6424 GB, free: 11.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=96): time 0.013/0.6189, allocations: 3.995 MB / 0.6463 GB, free: 7.641 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.203e-05/0.619, allocations: 167.2 kB / 0.6465 GB, free: 7.438 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.6206, allocations: 0.9904 MB / 0.6475 GB, free: 6.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-05/0.6207, allocations: 41.7 kB / 0.6475 GB, free: 6.383 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005168/0.6213, allocations: 0.6869 MB / 0.6482 GB, free: 5.688 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000288/0.6216, allocations: 349.1 kB / 0.6485 GB, free: 5.344 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000445/0.622, allocations: 307.3 kB / 0.6488 GB, free: 5.035 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.6221, allocations: 313.1 kB / 0.6491 GB, free: 4.727 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.6234, allocations: 0.5005 MB / 0.6496 GB, free: 4.223 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/0.6251, allocations: 1.133 MB / 0.6507 GB, free: 2.793 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003002/0.6282, allocations: 1.705 MB / 0.6524 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.805e-05/0.6282, allocations: 8.688 kB / 0.6524 GB, free: 0.793 MB / 494.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.00391/0.6321, allocations: 1.792 MB / 0.6541 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.6322, allocations: 16 kB / 0.6541 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.132e-05/0.6322, allocations: 20 kB / 0.6542 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000542/0.6327, allocations: 126.3 kB / 0.6543 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/0.6343, allocations: 411.3 kB / 0.6547 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008726/0.6351, allocations: 1.21 MB / 0.6558 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.6363, allocations: 84.52 kB / 0.6559 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.6365, allocations: 87.97 kB / 0.656 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001554/0.638, allocations: 0.7343 MB / 0.6567 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001606/0.6396, allocations: 1.133 MB / 0.6578 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002854/0.6425, allocations: 1.679 MB / 0.6595 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-05/0.6425, allocations: 11.94 kB / 0.6595 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003812/0.6463, allocations: 1.776 MB / 0.6612 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.6464, allocations: 16 kB / 0.6612 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-05/0.6464, allocations: 23.94 kB / 0.6613 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004461/0.6469, allocations: 121.7 kB / 0.6614 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.6483, allocations: 411.3 kB / 0.6618 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008008/0.6491, allocations: 1.21 MB / 0.6629 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.6503, allocations: 92.12 kB / 0.663 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.6504, allocations: 87.97 kB / 0.6631 GB, free: 5.051 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.000416/0.6509, allocations: 297.4 kB / 0.6634 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003477/0.6512, allocations: 135.1 kB / 0.6635 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006712/0.6579, allocations: 4.969 MB / 0.6684 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.109e-05/0.658, allocations: 11.97 kB / 0.6684 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.658, allocations: 0 / 0.6684 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006072/0.6586, allocations: 402.9 kB / 0.6688 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002787/0.6589, allocations: 59.62 kB / 0.6688 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.6599, allocations: 115.9 kB / 0.6689 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/0.6601, allocations: 92.8 kB / 0.669 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004826/0.665, allocations: 2.684 MB / 0.6717 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005745/0.6707, allocations: 3.893 MB / 0.6755 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001723/0.6725, allocations: 1.218 MB / 0.6766 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001354/0.6738, allocations: 0.855 MB / 0.6775 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of Backend: time 3.01e-07/0.6739, allocations: 0 / 0.6775 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01188/0.6857, allocations: 3.364 MB / 0.6808 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of SimCode: time 0.006885/0.6927, allocations: 4.102 MB / 0.6848 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of Templates: time 0.09424/0.7869, allocations: 66.28 MB / 0.7495 GB, free: 12.35 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)