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.001439/0.001438, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001962/0.001962, allocations: 197 kB / 16.14 MB, free: 6.703 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.855/1.855, allocations: 205.1 MB / 222 MB, free: 4.992 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.3859/0.3859, allocations: 39.94 MB / 309.3 MB, free: 9.234 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.001324/0.001324, allocations: 67.91 kB / 376.9 MB, free: 13.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.148, allocations: 56.88 MB / 433.8 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.3144/0.4624, allocations: 76.87 MB / 0.4987 GB, free: 4.777 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04648/0.5089, allocations: 34.76 MB / 0.5327 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003592/0.5126, allocations: 56.28 kB / 0.5327 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003677/0.5163, allocations: 0.9284 MB / 0.5336 GB, free: 11.6 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01669/0.5331, allocations: 4.296 MB / 0.5378 GB, free: 9.254 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02091/0.554, allocations: 5.584 MB / 0.5433 GB, free: 5.094 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01044/0.5645, allocations: 7.232 MB / 0.5503 GB, free: 1.207 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002602/0.5671, allocations: 1.157 MB / 0.5515 GB, free: 476 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01325/0.5804, allocations: 5.038 MB / 0.5564 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00409/0.5845, allocations: 1.643 MB / 0.558 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007241/0.5853, allocations: 107.9 kB / 0.5581 GB, free: 10.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01801/0.6033, allocations: 7.082 MB / 0.565 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001334/0.6047, allocations: 0.6466 MB / 0.5656 GB, free: 2.434 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00209/0.6068, allocations: 1.011 MB / 0.5666 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01768/0.6244, allocations: 6.579 MB / 0.573 GB, free: 10.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.6245, allocations: 0 / 0.573 GB, free: 10.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.6245, allocations: 0 / 0.573 GB, free: 10.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.69e-05/0.6245, allocations: 0 / 0.573 GB, free: 10.82 MB / 446.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.006876/0.6314, allocations: 2.818 MB / 0.5758 GB, free: 7.949 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.6315, allocations: 12.02 kB / 0.5758 GB, free: 7.938 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006301/0.6378, allocations: 0.8027 MB / 0.5766 GB, free: 7.133 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/0.64, allocations: 1.054 MB / 0.5776 GB, free: 6.035 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003763/0.6404, allocations: 457 kB / 0.5781 GB, free: 5.527 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003131/0.6408, allocations: 168.3 kB / 0.5782 GB, free: 5.363 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007018/0.6478, allocations: 3.142 MB / 0.5813 GB, free: 1.961 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.956e-05/0.6479, allocations: 15.88 kB / 0.5813 GB, free: 1.945 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002562/0.6481, allocations: 76 kB / 0.5814 GB, free: 1.871 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.682e-05/0.6482, allocations: 86.7 kB / 0.5815 GB, free: 1.785 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006815/0.6551, allocations: 2.695 MB / 0.5841 GB, free: 15.08 MB / 462.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.01792/0.673, allocations: 15.74 MB / 0.5995 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004246/0.6773, allocations: 1.383 MB / 0.6008 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001263/0.6786, allocations: 0.5452 MB / 0.6013 GB, free: 12.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001151/0.6797, allocations: 0.7025 MB / 0.602 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.6798, allocations: 47.56 kB / 0.6021 GB, free: 11.45 MB / 478.1 MB Notification: Performance of pre-optimization done (n=101): time 2.465e-06/0.6798, allocations: 4 kB / 0.6021 GB, free: 11.44 MB / 478.1 MB Notification: Performance of matching and sorting (n=117): time 0.01774/0.6976, allocations: 5.199 MB / 0.6072 GB, free: 6.168 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001884/0.6978, allocations: 171.2 kB / 0.6073 GB, free: 5.965 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002897/0.7007, allocations: 1.457 MB / 0.6087 GB, free: 4.496 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003018/0.7011, allocations: 53.64 kB / 0.6088 GB, free: 4.438 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001073/0.7021, allocations: 0.936 MB / 0.6097 GB, free: 3.488 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005994/0.7028, allocations: 426.2 kB / 0.6101 GB, free: 3.066 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000765/0.7035, allocations: 451.9 kB / 0.6105 GB, free: 2.617 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.7037, allocations: 313.1 kB / 0.6108 GB, free: 2.309 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/0.7054, allocations: 0.6798 MB / 0.6115 GB, free: 1.625 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002605/0.7081, allocations: 1.926 MB / 0.6134 GB, free: 15.08 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00399/0.7121, allocations: 2.768 MB / 0.6161 GB, free: 11.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.735e-05/0.7121, allocations: 16 kB / 0.6161 GB, free: 11.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005688/0.7178, allocations: 2.816 MB / 0.6189 GB, free: 8.871 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.459e-05/0.7179, allocations: 32.23 kB / 0.6189 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.559e-05/0.7179, allocations: 40 kB / 0.6189 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001342/0.7193, allocations: 443.1 kB / 0.6193 GB, free: 8.355 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/0.7209, allocations: 0.5225 MB / 0.6199 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.723, allocations: 2.74 MB / 0.6225 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/0.7252, allocations: 199.8 kB / 0.6227 GB, free: 4.793 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/0.7254, allocations: 140 kB / 0.6229 GB, free: 4.656 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.000958/0.7264, allocations: 0.5452 MB / 0.6234 GB, free: 4.102 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003348/0.7267, allocations: 173.9 kB / 0.6236 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2752/1.002, allocations: 4.967 MB / 0.6284 GB, free: 150.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.625e-05/1.002, allocations: 54.53 kB / 0.6285 GB, free: 150.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/1.002, allocations: 2.781 kB / 0.6285 GB, free: 150.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.476e-05/1.002, allocations: 6.844 kB / 0.6285 GB, free: 150.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009186/1.011, allocations: 7.11 MB / 0.6354 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/1.011, allocations: 8.25 kB / 0.6354 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009102/1.012, allocations: 255 kB / 0.6357 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001217/1.013, allocations: 442.9 kB / 0.6361 GB, free: 148.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.799e-05/1.014, allocations: 25.81 kB / 0.6361 GB, free: 148.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/1.015, allocations: 2.781 MB / 0.6388 GB, free: 145.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.015, allocations: 6.797 kB / 0.6388 GB, free: 145.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005656/1.021, allocations: 4.081 MB / 0.6428 GB, free: 144 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009867/1.022, allocations: 410.6 kB / 0.6432 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002632/1.022, allocations: 71.78 kB / 0.6433 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/1.023, allocations: 140.5 kB / 0.6434 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002235/1.024, allocations: 100.4 kB / 0.6435 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.721e-05/1.024, allocations: 57.39 kB / 0.6436 GB, free: 143.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001524/1.025, allocations: 1.23 MB / 0.6448 GB, free: 143.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/1.025, allocations: 0 / 0.6448 GB, free: 143.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005235/1.031, allocations: 1.406 MB / 0.6461 GB, free: 143.1 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.005438/1.036, allocations: 1.381 MB / 0.6475 GB, free: 143 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00458/1.041, allocations: 2.223 MB / 0.6497 GB, free: 142.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.511e-05/1.041, allocations: 448 / 0.6497 GB, free: 142.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002291/1.043, allocations: 1.351 MB / 0.651 GB, free: 141.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00447/1.047, allocations: 0.9055 MB / 0.6519 GB, free: 141.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008032/1.055, allocations: 5.593 MB / 0.6573 GB, free: 138.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00149/1.057, allocations: 1.665 MB / 0.6589 GB, free: 137.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003149/1.06, allocations: 0.9705 MB / 0.6599 GB, free: 137.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004134/1.061, allocations: 139.9 kB / 0.66 GB, free: 137.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.472e-06/1.061, allocations: 0 / 0.66 GB, free: 137.7 MB / 494.1 MB Notification: Performance of Templates: time 0.09346/1.154, allocations: 65.99 MB / 0.7245 GB, free: 89.67 MB / 494.1 MB 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)