Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.428/2.428, allocations: 285 MB / 292.5 MB, free: 10.45 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001503/0.001503, allocations: 188.9 kB / 360.7 MB, free: 7.219 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.964/1.964, allocations: 205.2 MB / 0.6192 GB, free: 12.13 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001129/0.001128, allocations: 95.92 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.085e-05/2.097e-05, allocations: 4 kB / 0.8509 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8097/0.8097, allocations: 115.3 MB / 0.9634 GB, free: 78.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.32/2.13, allocations: 453.8 MB / 1.407 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/2.13, allocations: 94.86 kB / 1.407 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.064/8.194, allocations: 1.162 GB / 2.569 GB, free: 123.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.565e-06/8.194, allocations: 3.219 kB / 2.569 GB, free: 123.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004202/8.194, allocations: 61.44 kB / 2.569 GB, free: 123.4 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.00712/8.202, allocations: 2.069 MB / 2.571 GB, free: 121.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/8.202, allocations: 12.03 kB / 2.571 GB, free: 121.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004071/8.206, allocations: 454.5 kB / 2.571 GB, free: 121.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/8.216, allocations: 2.295 MB / 2.573 GB, free: 118.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/8.216, allocations: 36.86 kB / 2.573 GB, free: 118.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005118/8.217, allocations: 72 kB / 2.573 GB, free: 118.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002484/8.22, allocations: 0.7946 MB / 2.574 GB, free: 117.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002896/8.222, allocations: 1.089 MB / 2.575 GB, free: 116.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.197e-05/8.223, allocations: 0 / 2.575 GB, free: 116.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/8.223, allocations: 4 kB / 2.575 GB, free: 116.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.485e-05/8.223, allocations: 28 kB / 2.575 GB, free: 116.7 MB / 0.948 GB 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.01256/8.235, allocations: 6.687 MB / 2.582 GB, free: 109.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/8.237, allocations: 1.146 MB / 2.583 GB, free: 108.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006944/8.238, allocations: 301.3 kB / 2.583 GB, free: 108 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006727/8.245, allocations: 2.885 MB / 2.586 GB, free: 104.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007694/8.246, allocations: 325.9 kB / 2.586 GB, free: 104.5 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001063/8.247, allocations: 79 kB / 2.586 GB, free: 104.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 7.604e-06/8.247, allocations: 0 / 2.586 GB, free: 104.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.01224/8.259, allocations: 1.481 MB / 2.588 GB, free: 103 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/8.259, allocations: 165.8 kB / 2.588 GB, free: 102.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002961/8.262, allocations: 1.244 MB / 2.589 GB, free: 101.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002742/8.262, allocations: 29.7 kB / 2.589 GB, free: 101.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001101/8.263, allocations: 0.8839 MB / 2.59 GB, free: 100.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003594/8.264, allocations: 201.1 kB / 2.59 GB, free: 100.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.261e-05/8.264, allocations: 0 / 2.59 GB, free: 100.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001063/8.264, allocations: 345.9 kB / 2.591 GB, free: 100.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006669/8.265, allocations: 265.3 kB / 2.591 GB, free: 99.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009209/8.266, allocations: 0.6904 MB / 2.592 GB, free: 98.92 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/8.277, allocations: 1.181 MB / 2.593 GB, free: 97.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.021e-05/8.277, allocations: 4 kB / 2.593 GB, free: 97.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01269/8.289, allocations: 1.817 MB / 2.595 GB, free: 95.97 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001027/8.29, allocations: 4.545 MB / 2.599 GB, free: 91.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.44e-05/8.29, allocations: 12 kB / 2.599 GB, free: 91.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.031e-05/8.291, allocations: 20 kB / 2.599 GB, free: 91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/8.292, allocations: 243.6 kB / 2.599 GB, free: 90.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.281e-05/8.293, allocations: 27.89 kB / 2.599 GB, free: 90.74 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002259/8.295, allocations: 103.7 kB / 2.599 GB, free: 90.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002477/8.295, allocations: 51.98 kB / 2.599 GB, free: 90.59 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/8.295, allocations: 4 kB / 2.599 GB, free: 90.58 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01201/8.307, allocations: 1.613 MB / 2.601 GB, free: 88.97 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.338e-05/8.307, allocations: 13 kB / 2.601 GB, free: 88.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/8.307, allocations: 20 kB / 2.601 GB, free: 88.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/8.309, allocations: 243.6 kB / 2.601 GB, free: 88.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-05/8.309, allocations: 23.92 kB / 2.601 GB, free: 88.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/8.311, allocations: 95.8 kB / 2.601 GB, free: 88.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001584/8.311, allocations: 55.97 kB / 2.601 GB, free: 88.53 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000326/8.312, allocations: 148.3 kB / 2.602 GB, free: 88.38 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003622/8.312, allocations: 165.8 kB / 2.602 GB, free: 88.21 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/8.324, allocations: 1.683 MB / 2.603 GB, free: 86.53 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/8.324, allocations: 8 kB / 2.603 GB, free: 86.52 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/8.324, allocations: 4 kB / 2.603 GB, free: 86.52 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01092/8.335, allocations: 1.53 MB / 2.605 GB, free: 84.94 MB / 0.948 GB 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 postOpt removeSimpleEquations (simulation): time 0.01514/8.35, allocations: 2.743 MB / 2.608 GB, free: 82.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/8.35, allocations: 3.938 kB / 2.608 GB, free: 82.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/8.352, allocations: 135.8 kB / 2.608 GB, free: 82.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002245/8.352, allocations: 32.8 kB / 2.608 GB, free: 81.99 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.976e-05/8.352, allocations: 11.98 kB / 2.608 GB, free: 81.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009974/8.353, allocations: 1.275 MB / 2.609 GB, free: 80.59 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/8.353, allocations: 0 / 2.609 GB, free: 80.59 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01237/8.365, allocations: 2.052 MB / 2.611 GB, free: 78.51 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/8.367, allocations: 330.2 kB / 2.611 GB, free: 78.17 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003137/8.367, allocations: 11.92 kB / 2.611 GB, free: 78.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/8.368, allocations: 75.86 kB / 2.611 GB, free: 78.08 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/8.369, allocations: 56.42 kB / 2.611 GB, free: 78.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/8.369, allocations: 31.97 kB / 2.611 GB, free: 78 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001858/8.371, allocations: 0.9234 MB / 2.612 GB, free: 77.08 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.11e-07/8.371, allocations: 0 / 2.612 GB, free: 77.08 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005745/8.376, allocations: 0.9976 MB / 2.613 GB, free: 76.08 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003385/8.38, allocations: 1.25 MB / 2.615 GB, free: 75.08 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003075/8.383, allocations: 1.363 MB / 2.616 GB, free: 73.68 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/8.383, allocations: 0 / 2.616 GB, free: 73.68 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/8.384, allocations: 443.9 kB / 2.616 GB, free: 73.24 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005052/8.389, allocations: 0.6312 MB / 2.617 GB, free: 72.63 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00652/8.396, allocations: 2.29 MB / 2.619 GB, free: 70.32 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/8.397, allocations: 1.414 MB / 2.621 GB, free: 68.88 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004215/8.401, allocations: 0.5803 MB / 2.621 GB, free: 68.34 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004398/8.402, allocations: 107.1 kB / 2.621 GB, free: 68.23 MB / 0.948 GB Notification: Performance of SimCode: time 1.834e-06/8.402, allocations: 0 / 2.621 GB, free: 68.23 MB / 0.948 GB Notification: Performance of Templates: time 0.0818/8.483, allocations: 32.85 MB / 2.653 GB, free: 35.95 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)