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.441/2.441, allocations: 285 MB / 292.5 MB, free: 10.46 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.001487/0.001486, allocations: 184.9 kB / 360.7 MB, free: 7.234 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.048/2.048, allocations: 205.3 MB / 0.6192 GB, free: 12.16 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.001119/0.001118, allocations: 94.42 kB / 0.7322 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.172e-05/2.182e-05, allocations: 8 kB / 0.8509 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.93/0.93, allocations: 115.2 MB / 0.9634 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.28/2.21, allocations: 409.3 MB / 1.363 GB, free: 158.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/2.21, allocations: 93.52 kB / 1.363 GB, free: 158.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 15.02/17.23, allocations: 2.722 GB / 4.085 GB, free: 58.17 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.006e-06/17.23, allocations: 1.422 kB / 4.085 GB, free: 58.17 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.00113/17.24, allocations: 170.9 kB / 4.086 GB, free: 58.14 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.02025/17.26, allocations: 5.914 MB / 4.091 GB, free: 55.18 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/17.26, allocations: 7.688 kB / 4.091 GB, free: 55.18 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004897/17.26, allocations: 0.7793 MB / 4.092 GB, free: 54.81 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1928/17.45, allocations: 59.36 MB / 4.15 GB, free: 50.95 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003004/17.45, allocations: 129.8 kB / 4.15 GB, free: 50.95 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001578/17.46, allocations: 254.4 kB / 4.15 GB, free: 50.95 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01023/17.47, allocations: 2.525 MB / 4.153 GB, free: 50.93 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01486/17.48, allocations: 3.601 MB / 4.156 GB, free: 50.12 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000194/17.48, allocations: 23.28 kB / 4.156 GB, free: 50.11 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009184/17.48, allocations: 6.938 kB / 4.156 GB, free: 50.11 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001555/17.48, allocations: 118.5 kB / 4.157 GB, free: 50.11 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.04257/17.52, allocations: 23.38 MB / 4.179 GB, free: 35.65 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004545/17.53, allocations: 2.846 MB / 4.182 GB, free: 34.47 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002501/17.53, allocations: 0.9917 MB / 4.183 GB, free: 34.45 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003526/17.54, allocations: 3.935 MB / 4.187 GB, free: 30.04 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001/17.54, allocations: 71.08 kB / 4.187 GB, free: 29.99 MB / 1.057 GB Notification: Performance of pre-optimization done (n=225): time 5.51e-06/17.54, allocations: 0 / 4.187 GB, free: 29.99 MB / 1.057 GB Notification: Performance of matching and sorting (n=225): time 0.01326/17.55, allocations: 2.888 MB / 4.19 GB, free: 29.55 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/17.55, allocations: 78.94 kB / 4.19 GB, free: 29.48 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00951/17.56, allocations: 3.281 MB / 4.193 GB, free: 29.18 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.000813/17.56, allocations: 29.45 kB / 4.193 GB, free: 29.15 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.003955/17.56, allocations: 2.782 MB / 4.196 GB, free: 27.27 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001467/17.56, allocations: 0.7552 MB / 4.197 GB, free: 26.67 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/17.56, allocations: 0 / 4.197 GB, free: 26.67 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002124/17.57, allocations: 405.5 kB / 4.197 GB, free: 26.32 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001941/17.57, allocations: 0.732 MB / 4.198 GB, free: 26.02 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002826/17.57, allocations: 1.698 MB / 4.199 GB, free: 24.45 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006251/17.58, allocations: 1.379 MB / 4.201 GB, free: 23.94 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-05/17.58, allocations: 7.406 kB / 4.201 GB, free: 23.94 MB / 1.057 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01472/17.59, allocations: 3.47 MB / 4.204 GB, free: 22.66 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.002168/17.59, allocations: 10.31 MB / 4.214 GB, free: 11.64 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.062e-05/17.59, allocations: 20.53 kB / 4.214 GB, free: 11.64 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/17.59, allocations: 336.4 kB / 4.215 GB, free: 11.54 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003665/17.6, allocations: 0.5306 MB / 4.215 GB, free: 11.48 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002758/17.6, allocations: 2.749 MB / 4.218 GB, free: 9.102 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008514/17.61, allocations: 0.5021 MB / 4.218 GB, free: 8.93 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008272/17.61, allocations: 129.3 kB / 4.218 GB, free: 8.91 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/17.61, allocations: 3.938 kB / 4.218 GB, free: 8.91 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01057/17.62, allocations: 2.754 MB / 4.221 GB, free: 7.973 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.156e-05/17.62, allocations: 21.22 kB / 4.221 GB, free: 7.973 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/17.62, allocations: 356.7 kB / 4.221 GB, free: 7.871 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003549/17.63, allocations: 0.5324 MB / 4.222 GB, free: 7.809 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01203/17.64, allocations: 7.388 MB / 4.229 GB, free: 17.41 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008069/17.65, allocations: 468.1 kB / 4.23 GB, free: 17.28 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000778/17.65, allocations: 130.2 kB / 4.23 GB, free: 17.25 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.0008605/17.65, allocations: 183.3 kB / 4.23 GB, free: 17.08 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001942/17.65, allocations: 0.5042 MB / 4.23 GB, free: 16.82 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01325/17.66, allocations: 3.765 MB / 4.234 GB, free: 15.38 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.859e-05/17.66, allocations: 39.27 kB / 4.234 GB, free: 15.38 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/17.66, allocations: 0 / 4.234 GB, free: 15.38 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009055/17.67, allocations: 2.632 MB / 4.237 GB, free: 14.38 MB / 1.073 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.02635/17.7, allocations: 8.089 MB / 4.245 GB, free: 10.5 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.37e-05/17.7, allocations: 0 / 4.245 GB, free: 10.5 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003156/17.7, allocations: 395 kB / 4.245 GB, free: 10.46 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008161/17.7, allocations: 224.5 kB / 4.245 GB, free: 10.38 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004408/17.7, allocations: 39.3 kB / 4.245 GB, free: 10.37 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002485/17.71, allocations: 2.503 MB / 4.248 GB, free: 8.09 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/17.71, allocations: 5.359 kB / 4.248 GB, free: 8.086 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0173/17.72, allocations: 4.694 MB / 4.252 GB, free: 3.93 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004807/17.73, allocations: 0.9872 MB / 4.253 GB, free: 3.086 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001857/17.73, allocations: 8 kB / 4.253 GB, free: 3.078 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007884/17.74, allocations: 392.6 kB / 4.254 GB, free: 2.801 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007512/17.74, allocations: 158.1 kB / 4.254 GB, free: 2.703 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004959/17.74, allocations: 113.5 kB / 4.254 GB, free: 2.613 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.007788/17.75, allocations: 2.439 MB / 4.256 GB, free: 444 kB / 1.073 GB Notification: Performance of sort global known variables: time 8.32e-07/17.75, allocations: 0 / 4.256 GB, free: 444 kB / 1.073 GB Notification: Performance of remove unused functions: time 0.02209/17.77, allocations: 3.448 MB / 4.26 GB, free: 13.04 MB / 1.089 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.00976/17.78, allocations: 3.432 MB / 4.263 GB, free: 9.844 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.01254/17.79, allocations: 4.236 MB / 4.267 GB, free: 5.801 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.418e-05/17.79, allocations: 4.25 kB / 4.267 GB, free: 5.797 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.003796/17.8, allocations: 1.225 MB / 4.268 GB, free: 4.656 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02509/17.82, allocations: 2.643 MB / 4.271 GB, free: 2.762 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.006/18.83, allocations: 7.145 MB / 4.278 GB, free: 84.15 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00657/18.83, allocations: 2.994 MB / 4.281 GB, free: 83.35 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.01455/18.85, allocations: 1.489 MB / 4.282 GB, free: 83.3 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001571/18.85, allocations: 317.1 kB / 4.283 GB, free: 83.3 MB / 1.089 GB Notification: Performance of SimCode: time 1.863e-06/18.85, allocations: 0 / 4.283 GB, free: 83.3 MB / 1.089 GB Notification: Performance of Templates: time 0.3488/19.2, allocations: 115.1 MB / 4.395 GB, free: 76.24 MB / 1.089 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)