Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001092/0.001092, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008461/0.008461, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.328/1.328, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2539/0.2539, allocations: 38.04 MB / 308.8 MB, free: 10.29 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.1. 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.0004974/0.0004975, allocations: 12 kB / 377 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08987/0.09037, allocations: 57.52 MB / 434.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.2279/0.3183, allocations: 75.51 MB / 0.4981 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03463/0.353, allocations: 34.3 MB / 0.5316 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.3552, allocations: 52.41 kB / 0.5317 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002541/0.3577, allocations: 0.9257 MB / 0.5326 GB, free: 14.77 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/TestComponents/Sensors/TestTemperature2.mo:86:3-86:124:writable] Warning: Conditional component ‘m_flow_in‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.01256/0.3703, allocations: 4.285 MB / 0.5368 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01738/0.3877, allocations: 5.596 MB / 0.5422 GB, free: 9.051 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008086/0.3958, allocations: 7.227 MB / 0.5493 GB, free: 5.168 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001856/0.3977, allocations: 1.153 MB / 0.5504 GB, free: 4.438 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008783/0.4065, allocations: 5.023 MB / 0.5553 GB, free: 1.336 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002628/0.4092, allocations: 1.631 MB / 0.5569 GB, free: 15.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002897/0.4095, allocations: 103.9 kB / 0.557 GB, free: 15.6 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01334/0.4228, allocations: 7.082 MB / 0.5639 GB, free: 8.508 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007431/0.4236, allocations: 0.6271 MB / 0.5645 GB, free: 7.879 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001327/0.4249, allocations: 1.036 MB / 0.5655 GB, free: 6.832 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01144/0.4364, allocations: 6.531 MB / 0.5719 GB, free: 292 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4364, allocations: 0 / 0.5719 GB, free: 292 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4364, allocations: 0 / 0.5719 GB, free: 292 kB / 430.1 MB Notification: Performance of Transformations before backend: time 2.109e-05/0.4365, allocations: 0 / 0.5719 GB, free: 292 kB / 430.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.005247/0.4417, allocations: 2.447 MB / 0.5743 GB, free: 13.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.4418, allocations: 12.03 kB / 0.5743 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005654/0.4474, allocations: 0.8416 MB / 0.5751 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.4491, allocations: 1.049 MB / 0.5762 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003696/0.4495, allocations: 461.1 kB / 0.5766 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002445/0.4497, allocations: 171.9 kB / 0.5768 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006094/0.4558, allocations: 3.217 MB / 0.5799 GB, free: 7.676 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.586e-05/0.4559, allocations: 11.88 kB / 0.5799 GB, free: 7.664 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001931/0.4561, allocations: 76 kB / 0.58 GB, free: 7.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.83e-05/0.4562, allocations: 82.7 kB / 0.5801 GB, free: 7.508 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006169/0.4624, allocations: 2.812 MB / 0.5828 GB, free: 4.688 MB / 446.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.01515/0.4775, allocations: 15.82 MB / 0.5983 GB, free: 3.773 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004011/0.4816, allocations: 1.473 MB / 0.5997 GB, free: 2.293 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/0.4828, allocations: 0.5844 MB / 0.6003 GB, free: 1.711 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/0.4839, allocations: 0.7064 MB / 0.601 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.4839, allocations: 47.56 kB / 0.601 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of pre-optimization done (n=101): time 3.487e-06/0.4839, allocations: 0 / 0.601 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of matching and sorting (n=117): time 0.01555/0.4995, allocations: 5.512 MB / 0.6064 GB, free: 11.25 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.88e-05/0.4996, allocations: 171.2 kB / 0.6066 GB, free: 11.04 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/0.5014, allocations: 1.461 MB / 0.608 GB, free: 9.57 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001201/0.5016, allocations: 49.7 kB / 0.608 GB, free: 9.516 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006424/0.5022, allocations: 0.9399 MB / 0.609 GB, free: 8.562 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003333/0.5026, allocations: 418.3 kB / 0.6094 GB, free: 8.148 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002417/0.5028, allocations: 198.3 kB / 0.6095 GB, free: 7.949 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.5029, allocations: 305.1 kB / 0.6098 GB, free: 7.648 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.5044, allocations: 0.7189 MB / 0.6105 GB, free: 6.926 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002308/0.5068, allocations: 1.965 MB / 0.6125 GB, free: 4.352 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004133/0.5109, allocations: 2.857 MB / 0.6152 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.946e-05/0.5109, allocations: 12 kB / 0.6153 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005537/0.5165, allocations: 2.886 MB / 0.6181 GB, free: 13.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.679e-05/0.5166, allocations: 24 kB / 0.6181 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.6e-05/0.5166, allocations: 51.88 kB / 0.6181 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00135/0.518, allocations: 439.7 kB / 0.6186 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/0.5196, allocations: 0.55 MB / 0.6191 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.5216, allocations: 2.744 MB / 0.6218 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/0.5235, allocations: 227.8 kB / 0.622 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/0.5237, allocations: 144 kB / 0.6221 GB, free: 9.703 MB / 494.1 MB 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.0008534/0.5246, allocations: 0.5396 MB / 0.6227 GB, free: 9.156 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002743/0.5249, allocations: 170 kB / 0.6228 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006867/0.5317, allocations: 5.086 MB / 0.6278 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.145e-05/0.5318, allocations: 47.94 kB / 0.6278 GB, free: 3.777 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.5318, allocations: 0 / 0.6278 GB, free: 3.777 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.5318, allocations: 7.969 kB / 0.6278 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1924/0.7242, allocations: 7.221 MB / 0.6349 GB, free: 149.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.7243, allocations: 6.625 kB / 0.6349 GB, free: 149.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009345/0.7252, allocations: 297.2 kB / 0.6352 GB, free: 149.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001148/0.7264, allocations: 438.5 kB / 0.6356 GB, free: 149.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.866e-05/0.7264, allocations: 28.7 kB / 0.6356 GB, free: 149.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001606/0.728, allocations: 2.79 MB / 0.6384 GB, free: 147.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.7281, allocations: 2.438 kB / 0.6384 GB, free: 147.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005354/0.7334, allocations: 4.204 MB / 0.6425 GB, free: 146.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00087/0.7343, allocations: 0.5557 MB / 0.643 GB, free: 146.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.7345, allocations: 25.44 kB / 0.643 GB, free: 146.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.7356, allocations: 155.2 kB / 0.6432 GB, free: 146.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/0.7358, allocations: 107.4 kB / 0.6433 GB, free: 146.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.369e-05/0.7359, allocations: 46.34 kB / 0.6433 GB, free: 146.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001382/0.7373, allocations: 1.235 MB / 0.6445 GB, free: 145.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7373, allocations: 0 / 0.6445 GB, free: 145.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003731/0.741, allocations: 1.403 MB / 0.6459 GB, free: 145.7 MB / 494.1 MB 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.003603/0.7446, allocations: 1.378 MB / 0.6473 GB, free: 145.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003616/0.7482, allocations: 2.314 MB / 0.6495 GB, free: 144.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.7483, allocations: 5.312 kB / 0.6495 GB, free: 144.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001958/0.7502, allocations: 1.388 MB / 0.6509 GB, free: 144.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004602/0.7548, allocations: 0.8917 MB / 0.6517 GB, free: 144.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005751/0.7606, allocations: 5.725 MB / 0.6573 GB, free: 141 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009154/0.7616, allocations: 1.656 MB / 0.6589 GB, free: 140.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002005/0.7636, allocations: 0.9597 MB / 0.6599 GB, free: 140.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003056/0.7639, allocations: 141.7 kB / 0.66 GB, free: 140.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.022e-06/0.7639, allocations: 0 / 0.66 GB, free: 140.1 MB / 494.1 MB Notification: Performance of Templates: time 0.07552/0.8394, allocations: 65.77 MB / 0.7242 GB, free: 94.71 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) Environment - environmentSimulation: