Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.3/1.3, allocations: 252 MB / 267.9 MB, free: 10.94 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009204/0.0009206, allocations: 181.5 kB / 327.5 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205.4 MB / 0.5785 GB, free: 20.5 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007034/0.0007037, allocations: 83.98 kB / 0.6831 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003543, allocations: 19.56 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1565, allocations: 106.3 MB / 0.9012 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6735/0.83, allocations: 402.7 MB / 1.294 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.8303, allocations: 99.42 kB / 1.295 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 8.622/9.452, allocations: 2.629 GB / 3.923 GB, free: 55.79 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.405e-06/9.452, allocations: 0 / 3.923 GB, free: 55.79 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001026/9.453, allocations: 175.1 kB / 3.923 GB, free: 55.76 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.02084/9.474, allocations: 7.074 MB / 3.93 GB, free: 52.66 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/9.474, allocations: 6.875 kB / 3.93 GB, free: 52.66 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003859/9.478, allocations: 0.7783 MB / 3.931 GB, free: 52.29 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1009/9.579, allocations: 54.83 MB / 3.985 GB, free: 49.03 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003954/9.579, allocations: 314.2 kB / 3.985 GB, free: 49.02 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001382/9.58, allocations: 432.5 kB / 3.985 GB, free: 49.01 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009493/9.59, allocations: 4.274 MB / 3.989 GB, free: 48.22 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001104/9.59, allocations: 16.09 kB / 3.989 GB, free: 48.22 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003878/9.591, allocations: 174.1 kB / 3.99 GB, free: 48.22 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/9.591, allocations: 120.1 kB / 3.99 GB, free: 48.22 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004535/9.595, allocations: 2.901 MB / 3.993 GB, free: 48.19 MB / 1.01 GB 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.02472/9.62, allocations: 23.94 MB / 4.016 GB, free: 33.96 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002477/9.622, allocations: 2.954 MB / 4.019 GB, free: 32.77 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/9.624, allocations: 1.082 MB / 4.02 GB, free: 32.76 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002085/9.626, allocations: 3.939 MB / 4.024 GB, free: 28.35 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.868e-05/9.626, allocations: 64.72 kB / 4.024 GB, free: 28.3 MB / 1.01 GB Notification: Performance of pre-optimization done (n=225): time 4.729e-06/9.626, allocations: 0 / 4.024 GB, free: 28.3 MB / 1.01 GB Notification: Performance of matching and sorting (n=225): time 0.01116/9.637, allocations: 4.411 MB / 4.028 GB, free: 27.53 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/9.637, allocations: 77.09 kB / 4.028 GB, free: 27.46 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008233/9.645, allocations: 4.132 MB / 4.032 GB, free: 27.12 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0005842/9.646, allocations: 76.61 kB / 4.032 GB, free: 27.09 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001905/9.648, allocations: 2.773 MB / 4.035 GB, free: 26.21 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009261/9.649, allocations: 0.7859 MB / 4.036 GB, free: 25.71 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/9.649, allocations: 54.86 kB / 4.036 GB, free: 25.71 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001246/9.649, allocations: 407.3 kB / 4.036 GB, free: 25.4 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/9.65, allocations: 0.8026 MB / 4.037 GB, free: 25.39 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/9.652, allocations: 1.824 MB / 4.039 GB, free: 24.23 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003057/9.655, allocations: 2.54 MB / 4.041 GB, free: 23.44 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.502e-05/9.655, allocations: 3.344 kB / 4.041 GB, free: 23.44 MB / 1.01 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.007478/9.663, allocations: 3.513 MB / 4.045 GB, free: 23.04 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004117/9.663, allocations: 0.7428 MB / 4.045 GB, free: 22.17 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.746e-05/9.663, allocations: 19.75 kB / 4.045 GB, free: 22.17 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002143/9.665, allocations: 0.5637 MB / 4.046 GB, free: 22.14 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001828/9.667, allocations: 0.5248 MB / 4.046 GB, free: 22.14 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/9.669, allocations: 2.689 MB / 4.049 GB, free: 20.04 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005314/9.674, allocations: 0.5517 MB / 4.05 GB, free: 19.91 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004844/9.675, allocations: 138.9 kB / 4.05 GB, free: 19.91 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/9.675, allocations: 2.969 kB / 4.05 GB, free: 19.91 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00565/9.68, allocations: 2.812 MB / 4.053 GB, free: 19.81 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.326e-05/9.681, allocations: 20.97 kB / 4.053 GB, free: 19.81 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008618/9.681, allocations: 379.1 kB / 4.053 GB, free: 19.77 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/9.683, allocations: 0.5215 MB / 4.053 GB, free: 19.77 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007721/9.691, allocations: 7.723 MB / 4.061 GB, free: 30.12 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00539/9.696, allocations: 0.5115 MB / 4.061 GB, free: 30.02 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006118/9.697, allocations: 131.7 kB / 4.062 GB, free: 30.02 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 295 * 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 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.003459/9.7, allocations: 0.9987 MB / 4.063 GB, free: 29.82 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001821/9.702, allocations: 0.5062 MB / 4.063 GB, free: 29.55 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008246/9.71, allocations: 3.781 MB / 4.067 GB, free: 29.26 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.801e-05/9.711, allocations: 44.11 kB / 4.067 GB, free: 29.26 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/9.711, allocations: 0 / 4.067 GB, free: 29.26 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004056/9.715, allocations: 2.602 MB / 4.069 GB, free: 29.05 MB / 1.026 GB 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 postOpt removeSimpleEquations (simulation): time 0.02/9.735, allocations: 8.502 MB / 4.078 GB, free: 27.49 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/9.735, allocations: 5.125 kB / 4.078 GB, free: 27.49 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/9.736, allocations: 388.5 kB / 4.078 GB, free: 27.48 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006661/9.737, allocations: 313.9 kB / 4.078 GB, free: 27.43 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002254/9.737, allocations: 63.91 kB / 4.078 GB, free: 27.43 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00167/9.739, allocations: 2.496 MB / 4.081 GB, free: 25.35 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/9.739, allocations: 7.062 kB / 4.081 GB, free: 25.35 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007581/9.746, allocations: 4.652 MB / 4.085 GB, free: 24.67 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003397/9.75, allocations: 0.9561 MB / 4.086 GB, free: 24.27 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001558/9.751, allocations: 49.59 kB / 4.086 GB, free: 24.27 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004448/9.756, allocations: 431.9 kB / 4.087 GB, free: 24.23 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002914/9.756, allocations: 155.5 kB / 4.087 GB, free: 24.23 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003125/9.756, allocations: 108 kB / 4.087 GB, free: 24.23 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0065/9.763, allocations: 2.718 MB / 4.09 GB, free: 24.05 MB / 1.026 GB Notification: Performance of sort global known variables: time 4.51e-07/9.763, allocations: 3 kB / 4.09 GB, free: 24.05 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.01536/9.778, allocations: 3.437 MB / 4.093 GB, free: 23.55 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * 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 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.006725/9.785, allocations: 3.24 MB / 4.096 GB, free: 22.18 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.007966/9.793, allocations: 4.429 MB / 4.1 GB, free: 21.55 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/9.793, allocations: 2.562 kB / 4.1 GB, free: 21.55 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.002238/9.795, allocations: 1.323 MB / 4.102 GB, free: 21.49 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01594/9.811, allocations: 2.709 MB / 4.104 GB, free: 21.38 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01841/9.83, allocations: 11.17 MB / 4.115 GB, free: 15.8 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003823/9.834, allocations: 2.879 MB / 4.118 GB, free: 14.93 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.006495/9.84, allocations: 1.178 MB / 4.119 GB, free: 14.68 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0015/9.842, allocations: 420.7 kB / 4.12 GB, free: 14.67 MB / 1.026 GB Notification: Performance of SimCode: time 2.235e-06/9.842, allocations: 0 / 4.12 GB, free: 14.67 MB / 1.026 GB Notification: Performance of Templates: time 0.1752/10.02, allocations: 117.3 MB / 4.234 GB, free: 12.93 MB / 1.042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)