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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.0009575/0.0009576, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.159/1.159, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001583/0.001583, allocations: 110.2 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1615/0.1615, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.553e-05/2.554e-05, allocations: 4 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0781/0.07814, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.654/4.732, allocations: 2.486 GB / 2.882 GB, free: 17.33 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/4.732, allocations: 83.95 kB / 2.882 GB, free: 17.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915/7.648, allocations: 0.7823 GB / 3.665 GB, free: 34.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.654e-06/7.648, allocations: 0 / 3.665 GB, free: 34.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001098/7.648, allocations: 50 kB / 3.665 GB, free: 34.31 MB / 458.7 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.01005/7.658, allocations: 2.906 MB / 3.667 GB, free: 32.93 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/7.658, allocations: 7.688 kB / 3.667 GB, free: 32.93 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006263/7.664, allocations: 0.7904 MB / 3.668 GB, free: 32.83 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002298/7.666, allocations: 1.144 MB / 3.669 GB, free: 32.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002755/7.667, allocations: 453.3 kB / 3.67 GB, free: 32.18 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002591/7.667, allocations: 167.6 kB / 3.67 GB, free: 32.18 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00584/7.673, allocations: 3.109 MB / 3.673 GB, free: 31.44 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.872e-05/7.673, allocations: 12.84 kB / 3.673 GB, free: 31.44 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002255/7.673, allocations: 82.11 kB / 3.673 GB, free: 31.44 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.064e-05/7.673, allocations: 82.73 kB / 3.673 GB, free: 31.43 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004777/7.678, allocations: 2.558 MB / 3.676 GB, free: 31.4 MB / 458.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01428/7.692, allocations: 15.47 MB / 3.691 GB, free: 20.44 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003115/7.695, allocations: 1.249 MB / 3.692 GB, free: 20.39 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005256/7.696, allocations: 394.6 kB / 3.692 GB, free: 20.38 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04339/7.739, allocations: 18.34 MB / 3.71 GB, free: 12.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001161/7.74, allocations: 59.84 kB / 3.71 GB, free: 12.19 MB / 458.7 MB Notification: Performance of pre-optimization done (n=101): time 3.557e-06/7.74, allocations: 0 / 3.71 GB, free: 12.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=117): time 0.01287/7.752, allocations: 4.273 MB / 3.714 GB, free: 11.45 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.173e-05/7.753, allocations: 169 kB / 3.715 GB, free: 11.26 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/7.754, allocations: 1.05 MB / 3.716 GB, free: 11.05 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.942e-05/7.754, allocations: 43.02 kB / 3.716 GB, free: 11.02 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005204/7.755, allocations: 0.9794 MB / 3.717 GB, free: 10.45 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002905/7.755, allocations: 426.8 kB / 3.717 GB, free: 10.19 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.428e-05/7.755, allocations: 49.34 kB / 3.717 GB, free: 10.19 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/7.756, allocations: 459.3 kB / 3.718 GB, free: 9.875 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007691/7.756, allocations: 0.5383 MB / 3.718 GB, free: 9.867 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/7.758, allocations: 1.834 MB / 3.72 GB, free: 8.141 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/7.759, allocations: 0.9003 MB / 3.721 GB, free: 8.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/7.759, allocations: 18.75 kB / 3.721 GB, free: 8.016 MB / 458.7 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.003759/7.763, allocations: 2.582 MB / 3.723 GB, free: 7.555 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.748e-05/7.763, allocations: 23.53 kB / 3.723 GB, free: 7.555 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.143e-05/7.763, allocations: 45.91 kB / 3.723 GB, free: 7.555 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/7.764, allocations: 399.6 kB / 3.724 GB, free: 7.512 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/7.765, allocations: 0.52 MB / 3.724 GB, free: 7.441 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/7.767, allocations: 2.714 MB / 3.727 GB, free: 21.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/7.77, allocations: 203.5 kB / 3.727 GB, free: 21.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/7.77, allocations: 138.8 kB / 3.727 GB, free: 21.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (277): * Single equations (assignments): 273 * 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.0003777/7.77, allocations: 307.5 kB / 3.727 GB, free: 20.76 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/7.77, allocations: 149.7 kB / 3.728 GB, free: 20.69 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004831/7.775, allocations: 4.537 MB / 3.732 GB, free: 18.55 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.336e-05/7.775, allocations: 48.61 kB / 3.732 GB, free: 18.54 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/7.775, allocations: 3.938 kB / 3.732 GB, free: 18.53 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/7.775, allocations: 6.094 kB / 3.732 GB, free: 18.53 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008265/7.783, allocations: 6.671 MB / 3.739 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/7.784, allocations: 4 kB / 3.739 GB, free: 12.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008296/7.784, allocations: 225.2 kB / 3.739 GB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001276/7.786, allocations: 392.8 kB / 3.739 GB, free: 12.22 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.922e-05/7.786, allocations: 35.14 kB / 3.739 GB, free: 12.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002264/7.788, allocations: 2.762 MB / 3.742 GB, free: 9.438 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/7.788, allocations: 0 / 3.742 GB, free: 9.438 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004972/7.793, allocations: 3.806 MB / 3.746 GB, free: 5.746 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/7.794, allocations: 450.1 kB / 3.746 GB, free: 5.34 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/7.794, allocations: 31.95 kB / 3.746 GB, free: 5.309 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009847/7.795, allocations: 119.1 kB / 3.746 GB, free: 5.215 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/7.796, allocations: 87.59 kB / 3.746 GB, free: 5.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.257e-05/7.796, allocations: 43.84 kB / 3.746 GB, free: 5.121 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001277/7.797, allocations: 0.8073 MB / 3.747 GB, free: 4.398 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.81e-07/7.797, allocations: 0 / 3.747 GB, free: 4.398 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007994/7.805, allocations: 1.459 MB / 3.749 GB, free: 2.973 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 88 * 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.009442/7.814, allocations: 2.039 MB / 3.751 GB, free: 1.445 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004912/7.819, allocations: 2.055 MB / 3.753 GB, free: 15.78 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/7.819, allocations: 0 / 3.753 GB, free: 15.78 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001968/7.821, allocations: 1.216 MB / 3.754 GB, free: 14.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003401/7.825, allocations: 0.5993 MB / 3.754 GB, free: 14.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.023/8.847, allocations: 211.5 MB / 3.961 GB, free: 55.74 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001655/8.849, allocations: 1.654 MB / 3.963 GB, free: 55.01 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002605/8.852, allocations: 0.8927 MB / 3.963 GB, free: 54.99 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003525/8.852, allocations: 125.8 kB / 3.963 GB, free: 54.99 MB / 490.7 MB Notification: Performance of SimCode: time 2.355e-06/8.852, allocations: 0 / 3.963 GB, free: 54.99 MB / 490.7 MB Notification: Performance of Templates: time 0.09423/8.946, allocations: 61.99 MB / 4.024 GB, free: 52.36 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile (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)