Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.495/2.495, allocations: 284.8 MB / 297.3 MB, free: 6.324 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.001489/0.001489, allocations: 180.9 kB / 365.7 MB, free: 2.582 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 2.042/2.042, allocations: 205.2 MB / 0.6241 GB, free: 8.148 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.001037/0.001036, allocations: 97.14 kB / 0.7372 GB, free: 40.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.261e-05/5.272e-05, allocations: 4 kB / 0.8574 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8624/0.8625, allocations: 115.2 MB / 0.97 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.272/2.134, allocations: 410 MB / 1.37 GB, free: 150.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/2.135, allocations: 92.98 kB / 1.37 GB, free: 150.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 15.56/17.69, allocations: 2.734 GB / 4.104 GB, free: 53.54 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.434e-06/17.69, allocations: 0 / 4.104 GB, free: 53.54 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.001205/17.69, allocations: 174.1 kB / 4.105 GB, free: 53.5 MB / 1.057 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.02377/17.72, allocations: 5.902 MB / 4.11 GB, free: 50.45 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/17.72, allocations: 9.969 kB / 4.11 GB, free: 50.45 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006392/17.72, allocations: 0.7827 MB / 4.111 GB, free: 50.07 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2611/17.98, allocations: 59.52 MB / 4.169 GB, free: 45.82 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000487/17.98, allocations: 320.8 kB / 4.17 GB, free: 45.81 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001676/17.99, allocations: 427.2 kB / 4.17 GB, free: 45.81 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01484/18, allocations: 4.185 MB / 4.174 GB, free: 44.97 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001952/18, allocations: 22.38 kB / 4.174 GB, free: 44.96 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001117/18, allocations: 169.9 kB / 4.174 GB, free: 44.96 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001571/18, allocations: 118.8 kB / 4.174 GB, free: 44.95 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01039/18.01, allocations: 2.789 MB / 4.177 GB, free: 44.86 MB / 1.057 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.04475/18.06, allocations: 24.06 MB / 4.201 GB, free: 27.05 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005104/18.06, allocations: 2.902 MB / 4.203 GB, free: 25 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002779/18.07, allocations: 1.051 MB / 4.204 GB, free: 24.58 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003669/18.07, allocations: 3.931 MB / 4.208 GB, free: 20.1 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/18.07, allocations: 62.78 kB / 4.208 GB, free: 20.04 MB / 1.057 GB Notification: Performance of pre-optimization done (n=225): time 6.232e-06/18.07, allocations: 0 / 4.208 GB, free: 20.04 MB / 1.057 GB Notification: Performance of matching and sorting (n=225): time 0.009765/18.08, allocations: 2.576 MB / 4.211 GB, free: 18.94 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/18.08, allocations: 76.84 kB / 4.211 GB, free: 18.88 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01075/18.09, allocations: 3.587 MB / 4.214 GB, free: 17.56 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0008036/18.09, allocations: 82.64 kB / 4.214 GB, free: 17.5 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.003586/18.1, allocations: 2.782 MB / 4.217 GB, free: 15.3 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001349/18.1, allocations: 0.7807 MB / 4.218 GB, free: 14.68 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/18.1, allocations: 52.89 kB / 4.218 GB, free: 14.64 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.000193/18.1, allocations: 411.8 kB / 4.218 GB, free: 14.29 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002154/18.1, allocations: 0.7671 MB / 4.219 GB, free: 13.98 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00325/18.1, allocations: 1.765 MB / 4.221 GB, free: 12.42 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003058/18.11, allocations: 1.071 MB / 4.222 GB, free: 11.97 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.323e-05/18.11, allocations: 5.281 kB / 4.222 GB, free: 11.97 MB / 1.057 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01095/18.12, allocations: 3.284 MB / 4.225 GB, free: 10.6 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.002364/18.12, allocations: 10.34 MB / 4.235 GB, free: 15.6 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.64e-05/18.12, allocations: 25.22 kB / 4.235 GB, free: 15.59 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00175/18.12, allocations: 408.1 kB / 4.236 GB, free: 15.46 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003783/18.12, allocations: 0.5301 MB / 4.236 GB, free: 15.39 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003358/18.13, allocations: 2.671 MB / 4.239 GB, free: 13.04 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009039/18.14, allocations: 0.5719 MB / 4.239 GB, free: 12.57 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008582/18.14, allocations: 127.6 kB / 4.239 GB, free: 12.45 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/18.14, allocations: 4 kB / 4.239 GB, free: 12.45 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009585/18.15, allocations: 2.735 MB / 4.242 GB, free: 9.984 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-05/18.15, allocations: 24 kB / 4.242 GB, free: 9.961 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001777/18.15, allocations: 374.2 kB / 4.242 GB, free: 9.648 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003982/18.15, allocations: 0.5264 MB / 4.243 GB, free: 9.188 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01391/18.17, allocations: 7.702 MB / 4.251 GB, free: 1.285 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008409/18.18, allocations: 0.5181 MB / 4.251 GB, free: 0.8633 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008054/18.18, allocations: 131.2 kB / 4.251 GB, free: 0.7461 MB / 1.073 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 () * 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.001047/18.18, allocations: 276.6 kB / 4.251 GB, free: 480 kB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002199/18.18, allocations: 0.512 MB / 4.252 GB, free: 15.95 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/18.19, allocations: 3.723 MB / 4.256 GB, free: 12.7 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001128/18.19, allocations: 35.89 kB / 4.256 GB, free: 12.67 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/18.19, allocations: 0.9844 kB / 4.256 GB, free: 12.67 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007952/18.2, allocations: 2.542 MB / 4.258 GB, free: 10.32 MB / 1.089 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.02782/18.23, allocations: 8.498 MB / 4.266 GB, free: 3.145 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.592e-05/18.23, allocations: 6.438 kB / 4.266 GB, free: 3.145 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003366/18.23, allocations: 387.7 kB / 4.267 GB, free: 2.816 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001467/18.23, allocations: 305.4 kB / 4.267 GB, free: 2.539 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005434/18.24, allocations: 63.78 kB / 4.267 GB, free: 2.484 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002735/18.24, allocations: 2.493 MB / 4.27 GB, free: 15.93 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/18.24, allocations: 0 / 4.27 GB, free: 15.93 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01443/18.25, allocations: 4.664 MB / 4.274 GB, free: 11.48 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004856/18.26, allocations: 0.9934 MB / 4.275 GB, free: 10.63 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002083/18.26, allocations: 40 kB / 4.275 GB, free: 10.59 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007945/18.27, allocations: 446.4 kB / 4.276 GB, free: 10.27 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006878/18.27, allocations: 154.2 kB / 4.276 GB, free: 10.17 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000495/18.27, allocations: 109.1 kB / 4.276 GB, free: 10.08 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.009404/18.28, allocations: 2.725 MB / 4.278 GB, free: 7.383 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.182e-06/18.28, allocations: 0 / 4.278 GB, free: 7.383 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.02356/18.3, allocations: 3.594 MB / 4.282 GB, free: 3.781 MB / 1.104 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 () * 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.009173/18.31, allocations: 3.424 MB / 4.285 GB, free: 208 kB / 1.104 GB Notification: Performance of simCode: created initialization part: time 1.014/19.32, allocations: 4.489 MB / 4.29 GB, free: 98.12 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/19.32, allocations: 2.844 kB / 4.29 GB, free: 98.12 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.004293/19.33, allocations: 1.294 MB / 4.291 GB, free: 98.1 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02495/19.35, allocations: 2.739 MB / 4.294 GB, free: 98.07 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02461/19.38, allocations: 7.273 MB / 4.301 GB, free: 96.16 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006005/19.38, allocations: 2.999 MB / 4.304 GB, free: 95.36 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.01438/19.4, allocations: 1.511 MB / 4.305 GB, free: 95.31 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001411/19.4, allocations: 325 kB / 4.305 GB, free: 95.31 MB / 1.104 GB Notification: Performance of SimCode: time 1.242e-06/19.4, allocations: 0.8438 kB / 4.305 GB, free: 95.31 MB / 1.104 GB Notification: Performance of Templates: time 0.3705/19.77, allocations: 133 MB / 4.435 GB, free: 87.12 MB / 1.104 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)