Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.028/3.028, allocations: 287.3 MB / 302.3 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001615/0.001614, allocations: 178.7 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.088/2.088, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 84.27 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006881/0.0006883, allocations: 15.73 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2892, allocations: 115.3 MB / 0.9782 GB, free: 28.42 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 1.119/1.409, allocations: 152.6 MB / 1.127 GB, free: 164 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01071/1.419, allocations: 4.749 MB / 1.132 GB, free: 15.81 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/1.421, allocations: 24.28 kB / 1.132 GB, free: 15.8 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002426/1.424, allocations: 440.5 kB / 1.132 GB, free: 15.72 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.009587/1.433, allocations: 1.362 MB / 1.134 GB, free: 15.65 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006187/1.439, allocations: 0.8728 MB / 1.134 GB, free: 15.61 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003162/1.443, allocations: 1.075 MB / 1.135 GB, free: 15.56 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/1.444, allocations: 457.1 kB / 1.136 GB, free: 15.47 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002281/1.446, allocations: 0.588 MB / 1.136 GB, free: 15.38 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/1.447, allocations: 345 kB / 1.137 GB, free: 15.31 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001601/1.448, allocations: 27.88 kB / 1.137 GB, free: 15.31 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002876/1.45, allocations: 0.6902 MB / 1.138 GB, free: 15.28 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004847/1.451, allocations: 213.1 kB / 1.138 GB, free: 15.25 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004142/1.451, allocations: 169.2 kB / 1.138 GB, free: 15.2 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002405/1.454, allocations: 0.8707 MB / 1.139 GB, free: 15.13 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/1.454, allocations: 0 / 1.139 GB, free: 15.13 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.775e-06/1.454, allocations: 0 / 1.139 GB, free: 15.13 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.079e-05/1.454, allocations: 0 / 1.139 GB, free: 15.13 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002474/1.456, allocations: 0.9504 MB / 1.14 GB, free: 14.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/1.456, allocations: 9.281 kB / 1.14 GB, free: 14.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002088/1.459, allocations: 206.2 kB / 1.14 GB, free: 14.39 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/1.46, allocations: 0.56 MB / 1.14 GB, free: 14.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.181e-05/1.46, allocations: 35.66 kB / 1.14 GB, free: 14.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/1.461, allocations: 46.44 kB / 1.14 GB, free: 14.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/1.462, allocations: 0.4887 MB / 1.141 GB, free: 13.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/1.462, allocations: 0 / 1.141 GB, free: 13.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.328e-05/1.462, allocations: 19.38 kB / 1.141 GB, free: 13.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.546e-05/1.462, allocations: 21.33 kB / 1.141 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/1.464, allocations: 445.8 kB / 1.141 GB, free: 13.8 MB / 0.698 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.00461/1.468, allocations: 1.999 MB / 1.143 GB, free: 12.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009878/1.469, allocations: 354.5 kB / 1.144 GB, free: 12.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.699e-05/1.469, allocations: 21.11 kB / 1.144 GB, free: 12.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/1.469, allocations: 41.3 kB / 1.144 GB, free: 12.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 3.116e-06/1.47, allocations: 0 / 1.144 GB, free: 12.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.002165/1.472, allocations: 0.5539 MB / 1.144 GB, free: 12.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/1.472, allocations: 54.75 kB / 1.144 GB, free: 12.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009572/1.473, allocations: 0.4969 MB / 1.145 GB, free: 11.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/1.473, allocations: 33.7 kB / 1.145 GB, free: 11.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/1.473, allocations: 307.7 kB / 1.145 GB, free: 11.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/1.473, allocations: 114.4 kB / 1.145 GB, free: 11.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/1.473, allocations: 11.22 kB / 1.145 GB, free: 11.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001921/1.474, allocations: 363.4 kB / 1.146 GB, free: 11.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004759/1.474, allocations: 142.3 kB / 1.146 GB, free: 11.31 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005583/1.475, allocations: 223 kB / 1.146 GB, free: 11.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000519/1.475, allocations: 166.4 kB / 1.146 GB, free: 11.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.475, allocations: 0 / 1.146 GB, free: 11.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001348/1.477, allocations: 435.2 kB / 1.147 GB, free: 11.06 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001885/1.477, allocations: 362.8 kB / 1.147 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/1.477, allocations: 1.438 kB / 1.147 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/1.477, allocations: 2.469 kB / 1.147 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006957/1.478, allocations: 73.19 kB / 1.147 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/1.478, allocations: 9.312 kB / 1.147 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/1.479, allocations: 68.81 kB / 1.147 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/1.479, allocations: 12.09 kB / 1.147 GB, free: 10.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/1.479, allocations: 4.875 kB / 1.147 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001132/1.48, allocations: 352.2 kB / 1.147 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/1.48, allocations: 5.031 kB / 1.147 GB, free: 10.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/1.48, allocations: 6.484 kB / 1.147 GB, free: 10.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/1.481, allocations: 70.59 kB / 1.147 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/1.481, allocations: 2.781 kB / 1.147 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/1.482, allocations: 65.14 kB / 1.148 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/1.482, allocations: 11.94 kB / 1.148 GB, free: 10.54 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005677/1.483, allocations: 288.2 kB / 1.148 GB, free: 10.33 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/1.483, allocations: 64.89 kB / 1.148 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/1.484, allocations: 426 kB / 1.148 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/1.484, allocations: 2.625 kB / 1.148 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.484, allocations: 0 / 1.148 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001077/1.485, allocations: 449.5 kB / 1.149 GB, free: 9.973 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003135/1.488, allocations: 1.176 MB / 1.15 GB, free: 9.395 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/1.488, allocations: 2.375 kB / 1.15 GB, free: 9.395 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008498/1.489, allocations: 88.98 kB / 1.15 GB, free: 9.379 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.57e-05/1.489, allocations: 7.422 kB / 1.15 GB, free: 9.375 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.573e-05/1.489, allocations: 14.16 kB / 1.15 GB, free: 9.371 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.186e-06/1.489, allocations: 2.375 kB / 1.15 GB, free: 9.371 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/1.489, allocations: 5.953 kB / 1.15 GB, free: 9.367 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/1.491, allocations: 0.8074 MB / 1.151 GB, free: 8.969 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005323/1.492, allocations: 177.9 kB / 1.151 GB, free: 8.828 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/1.492, allocations: 10.38 kB / 1.151 GB, free: 8.828 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009556/1.493, allocations: 52.64 kB / 1.151 GB, free: 8.805 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/1.493, allocations: 26.23 kB / 1.151 GB, free: 8.793 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.388e-05/1.493, allocations: 21.2 kB / 1.151 GB, free: 8.785 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007215/1.494, allocations: 356.1 kB / 1.151 GB, free: 8.648 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.41e-07/1.494, allocations: 0 / 1.151 GB, free: 8.648 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001534/1.496, allocations: 322.7 kB / 1.152 GB, free: 8.605 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * 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 (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006301/1.496, allocations: 191.4 kB / 1.152 GB, free: 8.484 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001773/1.498, allocations: 0.5232 MB / 1.152 GB, free: 8.391 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.498, allocations: 0 / 1.152 GB, free: 8.391 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005873/1.499, allocations: 190.8 kB / 1.153 GB, free: 8.352 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003408/1.502, allocations: 365.1 kB / 1.153 GB, free: 8.223 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003421/1.506, allocations: 1.547 MB / 1.154 GB, free: 7.219 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006918/1.506, allocations: 0.9401 MB / 1.155 GB, free: 6.414 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001284/1.508, allocations: 179.9 kB / 1.156 GB, free: 6.332 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/1.508, allocations: 53.58 kB / 1.156 GB, free: 6.32 MB / 0.698 GB Notification: Performance of SimCode: time 1.252e-06/1.508, allocations: 0 / 1.156 GB, free: 6.32 MB / 0.698 GB Notification: Performance of Templates: time 0.03351/1.541, allocations: 10.95 MB / 1.166 GB, free: 0.9062 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)