Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.TestTemperature2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008279/0.008278, allocations: 102.3 kB / 15.73 MB, free: 6.031 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.001392/0.001392, allocations: 197 kB / 16.67 MB, free: 5.969 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.696/1.696, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3685/0.3685, allocations: 39.94 MB / 309.8 MB, free: 9.402 MB / 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 75.88 kB / 435.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3783, allocations: 56.87 MB / 492.7 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.06873/0.447, allocations: 75.2 MB / 0.5545 GB, free: 4.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04449/0.4916, allocations: 33.48 MB / 0.5872 GB, free: 3.387 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002979/0.4946, allocations: 39.75 kB / 0.5873 GB, free: 3.348 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003284/0.4979, allocations: 1.045 MB / 0.5883 GB, free: 2.297 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01729/0.5152, allocations: 5.093 MB / 0.5933 GB, free: 13.18 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01939/0.5346, allocations: 6.315 MB / 0.5994 GB, free: 6.844 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008458/0.5431, allocations: 5.158 MB / 0.6045 GB, free: 1.672 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002479/0.5457, allocations: 1.332 MB / 0.6058 GB, free: 324 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01093/0.5566, allocations: 5.321 MB / 0.611 GB, free: 10.94 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003317/0.56, allocations: 1.584 MB / 0.6125 GB, free: 9.348 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005931/0.5606, allocations: 196 kB / 0.6127 GB, free: 9.156 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01545/0.5761, allocations: 7.223 MB / 0.6198 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001185/0.5773, allocations: 0.713 MB / 0.6205 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001727/0.579, allocations: 1.097 MB / 0.6215 GB, free: 112 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01602/0.595, allocations: 6.68 MB / 0.6281 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5951, allocations: 0 / 0.6281 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5951, allocations: 0 / 0.6281 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.569e-05/0.5951, allocations: 4 kB / 0.6281 GB, free: 9.41 MB / 0.4981 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.006972/0.6021, allocations: 2.794 MB / 0.6308 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.6022, allocations: 15.89 kB / 0.6308 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006516/0.6087, allocations: 0.8182 MB / 0.6316 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003342/0.6121, allocations: 1.104 MB / 0.6327 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004289/0.6125, allocations: 453 kB / 0.6331 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003552/0.6129, allocations: 184.1 kB / 0.6333 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007041/0.62, allocations: 3.131 MB / 0.6363 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.103e-05/0.62, allocations: 11.88 kB / 0.6364 GB, free: 500 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002172/0.6203, allocations: 79.98 kB / 0.6364 GB, free: 420 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/0.6204, allocations: 86.72 kB / 0.6365 GB, free: 332 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2821/0.9025, allocations: 2.697 MB / 0.6391 GB, free: 134.1 MB / 0.4981 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.01763/0.9202, allocations: 15.72 MB / 0.6545 GB, free: 121.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004764/0.925, allocations: 1.384 MB / 0.6558 GB, free: 121 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/0.9263, allocations: 0.5385 MB / 0.6564 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/0.9274, allocations: 0.6934 MB / 0.6571 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.9274, allocations: 46 kB / 0.6571 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=101): time 2.765e-06/0.9274, allocations: 1.688 kB / 0.6571 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=117): time 0.01712/0.9445, allocations: 5.226 MB / 0.6622 GB, free: 118.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.649e-05/0.9447, allocations: 169.4 kB / 0.6624 GB, free: 118.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/0.9466, allocations: 1.466 MB / 0.6638 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.00013/0.9467, allocations: 48.27 kB / 0.6638 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006001/0.9473, allocations: 0.93 MB / 0.6647 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003074/0.9477, allocations: 425 kB / 0.6652 GB, free: 116.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005675/0.9482, allocations: 450.4 kB / 0.6656 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.308e-05/0.9483, allocations: 305.4 kB / 0.6659 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/0.9499, allocations: 0.683 MB / 0.6665 GB, free: 115.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002151/0.952, allocations: 1.921 MB / 0.6684 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00435/0.9564, allocations: 2.787 MB / 0.6711 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.461e-05/0.9565, allocations: 12.12 kB / 0.6712 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.006083/0.9626, allocations: 2.81 MB / 0.6739 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.414e-05/0.9627, allocations: 28.22 kB / 0.6739 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-05/0.9627, allocations: 42.28 kB / 0.674 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/0.9641, allocations: 443.4 kB / 0.6744 GB, free: 109.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/0.966, allocations: 0.5224 MB / 0.6749 GB, free: 109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.9677, allocations: 2.744 MB / 0.6776 GB, free: 106.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/0.9697, allocations: 144.4 kB / 0.6777 GB, free: 106.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.9699, allocations: 139.8 kB / 0.6778 GB, free: 106.4 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.0008484/0.9708, allocations: 0.5409 MB / 0.6784 GB, free: 106 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/0.9711, allocations: 180.8 kB / 0.6785 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006551/0.9777, allocations: 4.939 MB / 0.6834 GB, free: 103.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.201e-05/0.9778, allocations: 54.33 kB / 0.6834 GB, free: 103 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.9778, allocations: 0.9688 kB / 0.6834 GB, free: 103 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.9778, allocations: 3.984 kB / 0.6834 GB, free: 103 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008621/0.9864, allocations: 7.1 MB / 0.6904 GB, free: 98.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.9865, allocations: 1.625 kB / 0.6904 GB, free: 98.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009886/0.9875, allocations: 261.4 kB / 0.6906 GB, free: 98.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001201/0.9887, allocations: 444.8 kB / 0.691 GB, free: 98.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-05/0.9888, allocations: 23.75 kB / 0.6911 GB, free: 98.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/0.9903, allocations: 2.795 MB / 0.6938 GB, free: 95.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.9903, allocations: 5.969 kB / 0.6938 GB, free: 95.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005393/0.9957, allocations: 4.087 MB / 0.6978 GB, free: 92.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008374/0.9966, allocations: 409.8 kB / 0.6982 GB, free: 91.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/0.9968, allocations: 71.36 kB / 0.6982 GB, free: 91.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009525/0.9978, allocations: 91.92 kB / 0.6983 GB, free: 91.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.998, allocations: 108.7 kB / 0.6984 GB, free: 91.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.291e-05/0.9981, allocations: 51.97 kB / 0.6985 GB, free: 91.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001303/0.9994, allocations: 1.232 MB / 0.6997 GB, free: 90.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9994, allocations: 4 kB / 0.6997 GB, free: 90.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004146/1.004, allocations: 1.393 MB / 0.7011 GB, free: 88.95 MB / 0.4981 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.004008/1.008, allocations: 1.378 MB / 0.7024 GB, free: 87.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003981/1.012, allocations: 2.242 MB / 0.7046 GB, free: 85.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/1.012, allocations: 448 / 0.7046 GB, free: 85.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001971/1.014, allocations: 1.359 MB / 0.7059 GB, free: 84.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00429/1.018, allocations: 0.9373 MB / 0.7068 GB, free: 83.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005862/1.024, allocations: 4.651 MB / 0.7114 GB, free: 78.49 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007962/1.025, allocations: 1.644 MB / 0.713 GB, free: 76.81 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001719/1.026, allocations: 0.968 MB / 0.7139 GB, free: 75.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/1.027, allocations: 151.4 kB / 0.7141 GB, free: 75.69 MB / 0.4981 GB Notification: Performance of SimCode: time 8.42e-07/1.027, allocations: 0 / 0.7141 GB, free: 75.69 MB / 0.4981 GB Notification: Performance of Templates: time 0.08099/1.108, allocations: 69.06 MB / 0.7815 GB, free: 6.594 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1)