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.000991/0.000991, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009616/0.0009617, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.212/1.212, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.2723/0.2723, allocations: 39.99 MB / 310.4 MB, free: 9.949 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.0005086/0.0005086, allocations: 20 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09045/0.09097, allocations: 57.95 MB / 436.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.2034/0.2944, allocations: 63.42 MB / 0.4885 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02675/0.3212, allocations: 28.48 MB / 0.5163 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002008/0.3233, allocations: 51.41 kB / 0.5163 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002512/0.3258, allocations: 0.9033 MB / 0.5172 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01191/0.3377, allocations: 4.002 MB / 0.5211 GB, free: 7.855 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.014/0.3517, allocations: 5.302 MB / 0.5263 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005057/0.3568, allocations: 2.996 MB / 0.5292 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001835/0.3587, allocations: 1.086 MB / 0.5303 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01192/0.3706, allocations: 7.185 MB / 0.5373 GB, free: 372 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002527/0.3732, allocations: 1.053 MB / 0.5383 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003776/0.3736, allocations: 100.1 kB / 0.5384 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0148/0.3884, allocations: 6.989 MB / 0.5452 GB, free: 9.344 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007533/0.3892, allocations: 0.5844 MB / 0.5458 GB, free: 8.758 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000632/0.3898, allocations: 404.8 kB / 0.5462 GB, free: 8.355 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007076/0.3969, allocations: 4.58 MB / 0.5507 GB, free: 3.766 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.3969, allocations: 0 / 0.5507 GB, free: 3.766 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.3969, allocations: 3.938 kB / 0.5507 GB, free: 3.762 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.118e-05/0.397, allocations: 3.938 kB / 0.5507 GB, free: 3.758 MB / 414.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.004982/0.402, allocations: 2.472 MB / 0.5531 GB, free: 1.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.402, allocations: 8.031 kB / 0.5531 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005722/0.4077, allocations: 0.8408 MB / 0.5539 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.4095, allocations: 1.025 MB / 0.5549 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003061/0.4098, allocations: 464.4 kB / 0.5554 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002342/0.41, allocations: 171.8 kB / 0.5555 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006028/0.416, allocations: 3.185 MB / 0.5586 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.364e-05/0.4161, allocations: 11.88 kB / 0.5586 GB, free: 11.17 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002036/0.4163, allocations: 76 kB / 0.5587 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.984e-05/0.4164, allocations: 86.72 kB / 0.5588 GB, free: 11.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006162/0.4226, allocations: 2.793 MB / 0.5615 GB, free: 8.207 MB / 430.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.01529/0.4379, allocations: 15.81 MB / 0.577 GB, free: 7.309 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004074/0.442, allocations: 1.474 MB / 0.5784 GB, free: 5.828 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/0.4431, allocations: 0.718 MB / 0.5791 GB, free: 5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.4431, allocations: 51.56 kB / 0.5792 GB, free: 4.941 MB / 446.1 MB Notification: Performance of pre-optimization done (n=101): time 2.675e-06/0.4431, allocations: 0 / 0.5792 GB, free: 4.941 MB / 446.1 MB Notification: Performance of matching and sorting (n=117): time 0.01581/0.459, allocations: 5.496 MB / 0.5845 GB, free: 15.38 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/0.4591, allocations: 171.2 kB / 0.5847 GB, free: 15.17 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.4607, allocations: 1.445 MB / 0.5861 GB, free: 13.71 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.4608, allocations: 53.7 kB / 0.5861 GB, free: 13.66 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000594/0.4614, allocations: 0.9283 MB / 0.5871 GB, free: 12.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003053/0.4617, allocations: 422.2 kB / 0.5875 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.475e-05/0.4618, allocations: 48 kB / 0.5875 GB, free: 12.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.462, allocations: 394.5 kB / 0.5879 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.4635, allocations: 0.715 MB / 0.5886 GB, free: 11.14 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002268/0.4657, allocations: 1.934 MB / 0.5905 GB, free: 8.594 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/0.4676, allocations: 1.041 MB / 0.5915 GB, free: 7.555 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.641e-05/0.4677, allocations: 12 kB / 0.5915 GB, free: 7.543 MB / 462.1 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.00508/0.4727, allocations: 2.886 MB / 0.5943 GB, free: 4.637 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.4728, allocations: 24 kB / 0.5943 GB, free: 4.613 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.785e-05/0.4728, allocations: 41.94 kB / 0.5944 GB, free: 4.574 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/0.4741, allocations: 440.3 kB / 0.5948 GB, free: 4.133 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/0.4757, allocations: 0.5537 MB / 0.5953 GB, free: 3.578 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/0.4776, allocations: 2.749 MB / 0.598 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/0.4794, allocations: 231.6 kB / 0.5982 GB, free: 0.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/0.4796, allocations: 140 kB / 0.5984 GB, free: 372 kB / 462.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,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 7,1 7,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0007649/0.4804, allocations: 0.5318 MB / 0.5989 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002332/0.4806, allocations: 177.9 kB / 0.5991 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006505/0.4872, allocations: 5.086 MB / 0.604 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.132e-05/0.4873, allocations: 55.91 kB / 0.6041 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.4873, allocations: 0 / 0.6041 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.464e-05/0.4873, allocations: 11.94 kB / 0.6041 GB, free: 10.42 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009557/0.4969, allocations: 7.212 MB / 0.6111 GB, free: 3.062 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.4969, allocations: 0 / 0.6111 GB, free: 3.062 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.498, allocations: 304 kB / 0.6114 GB, free: 2.766 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001235/0.4992, allocations: 435 kB / 0.6118 GB, free: 2.328 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.362e-05/0.4993, allocations: 31.98 kB / 0.6119 GB, free: 2.297 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/0.5015, allocations: 2.795 MB / 0.6146 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.5015, allocations: 7.938 kB / 0.6146 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006096/0.5076, allocations: 4.345 MB / 0.6189 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.5087, allocations: 0.5595 MB / 0.6194 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/0.509, allocations: 31.95 kB / 0.6194 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.5102, allocations: 143.6 kB / 0.6196 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/0.5104, allocations: 112.8 kB / 0.6197 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.499e-05/0.5105, allocations: 47.98 kB / 0.6197 GB, free: 9.949 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001545/0.512, allocations: 1.221 MB / 0.6209 GB, free: 8.707 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.512, allocations: 0 / 0.6209 GB, free: 8.707 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003871/0.5159, allocations: 1.413 MB / 0.6223 GB, free: 7.293 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003776/0.5197, allocations: 1.359 MB / 0.6236 GB, free: 5.926 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004211/0.5239, allocations: 2.297 MB / 0.6259 GB, free: 3.625 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.5239, allocations: 0.625 kB / 0.6259 GB, free: 3.625 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002315/0.5263, allocations: 1.39 MB / 0.6272 GB, free: 2.238 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003924/0.5302, allocations: 0.8784 MB / 0.6281 GB, free: 1.359 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1544/0.6846, allocations: 5.588 MB / 0.6335 GB, free: 144.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007845/0.6854, allocations: 1.704 MB / 0.6352 GB, free: 143.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001794/0.6872, allocations: 0.9656 MB / 0.6361 GB, free: 143.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.6875, allocations: 142.2 kB / 0.6363 GB, free: 143.6 MB / 494.1 MB Notification: Performance of SimCode: time 6.21e-07/0.6875, allocations: 0 / 0.6363 GB, free: 143.6 MB / 494.1 MB Notification: Performance of Templates: time 0.07353/0.761, allocations: 65.18 MB / 0.6999 GB, free: 112.5 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: