Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 91.22 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005694/0.005694, allocations: 170.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.677/1.677, allocations: 252 MB / 0.5105 GB, free: 4.684 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005282/0.0005283, allocations: 20.47 kB / 0.6249 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5832/0.5837, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2178/0.8016, allocations: 178.8 MB / 0.9033 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00962/0.8113, allocations: 4.911 MB / 0.9081 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.813, allocations: 27.75 kB / 0.9082 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.8145, allocations: 370 kB / 0.9085 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004893/0.8194, allocations: 1.334 MB / 0.9098 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002612/0.8221, allocations: 0.7214 MB / 0.9105 GB, free: 444 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.5436/1.366, allocations: 2.584 MB / 0.9131 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/1.367, allocations: 0.503 MB / 0.9135 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002088/1.369, allocations: 0.7774 MB / 0.9143 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/1.37, allocations: 0.5439 MB / 0.9148 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.863e-05/1.37, allocations: 25.83 kB / 0.9149 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003316/1.374, allocations: 1.615 MB / 0.9164 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003982/1.374, allocations: 233 kB / 0.9167 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007772/1.375, allocations: 387.1 kB / 0.917 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002643/1.378, allocations: 1.473 MB / 0.9185 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.378, allocations: 1 kB / 0.9185 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.875e-06/1.378, allocations: 0 / 0.9185 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.237e-05/1.378, allocations: 0 / 0.9185 GB, free: 19.12 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.00174/1.379, allocations: 0.9698 MB / 0.9194 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/1.379, allocations: 9.031 kB / 0.9194 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/1.381, allocations: 210 kB / 0.9196 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008485/1.382, allocations: 0.5819 MB / 0.9202 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/1.382, allocations: 37.94 kB / 0.9202 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.131e-05/1.382, allocations: 50.77 kB / 0.9203 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/1.383, allocations: 0.5055 MB / 0.9208 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/1.383, allocations: 2.578 kB / 0.9208 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.356e-05/1.383, allocations: 20.78 kB / 0.9208 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.423e-05/1.383, allocations: 18.22 kB / 0.9208 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/1.384, allocations: 442.9 kB / 0.9212 GB, free: 18.12 MB / 0.7325 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.0029/1.387, allocations: 2.023 MB / 0.9232 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005336/1.387, allocations: 349 kB / 0.9235 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003343/1.388, allocations: 211.5 kB / 0.9237 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002935/1.388, allocations: 203.1 kB / 0.9239 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/1.388, allocations: 39.31 kB / 0.924 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 1.844e-06/1.388, allocations: 0 / 0.924 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.001195/1.389, allocations: 0.551 MB / 0.9245 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/1.389, allocations: 54.16 kB / 0.9246 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006604/1.39, allocations: 0.5166 MB / 0.9251 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.466e-05/1.39, allocations: 32.39 kB / 0.9251 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/1.39, allocations: 309 kB / 0.9254 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.432e-05/1.39, allocations: 115.2 kB / 0.9255 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/1.39, allocations: 36.19 kB / 0.9255 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.391, allocations: 362.9 kB / 0.9259 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/1.391, allocations: 137.9 kB / 0.926 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003276/1.391, allocations: 222.6 kB / 0.9262 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005204/1.392, allocations: 348.7 kB / 0.9266 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.392, allocations: 0 / 0.9266 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006617/1.392, allocations: 444.6 kB / 0.927 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.811e-05/1.392, allocations: 116.5 kB / 0.9271 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.392, allocations: 0 / 0.9271 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/1.393, allocations: 3.281 kB / 0.9271 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/1.393, allocations: 73.14 kB / 0.9272 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/1.393, allocations: 0 / 0.9272 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005623/1.393, allocations: 65.2 kB / 0.9272 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/1.393, allocations: 12.97 kB / 0.9272 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.831e-06/1.393, allocations: 3.344 kB / 0.9272 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005734/1.394, allocations: 357.2 kB / 0.9276 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-06/1.394, allocations: 0 / 0.9276 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.801e-06/1.394, allocations: 7.406 kB / 0.9276 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/1.394, allocations: 77.27 kB / 0.9277 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/1.394, allocations: 3.219 kB / 0.9277 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004601/1.395, allocations: 70.28 kB / 0.9277 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/1.395, allocations: 13.62 kB / 0.9278 GB, free: 15.68 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002592/1.395, allocations: 290.4 kB / 0.928 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.45e-05/1.395, allocations: 59.91 kB / 0.9281 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006624/1.396, allocations: 424.8 kB / 0.9285 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/1.396, allocations: 7.781 kB / 0.9285 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.396, allocations: 0 / 0.9285 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005346/1.396, allocations: 444.8 kB / 0.9289 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/1.398, allocations: 1.181 MB / 0.9301 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/1.398, allocations: 7.812 kB / 0.9301 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/1.398, allocations: 85.88 kB / 0.9302 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/1.398, allocations: 3.25 kB / 0.9302 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/1.399, allocations: 12.38 kB / 0.9302 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/1.399, allocations: 2.828 kB / 0.9302 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.399, allocations: 13.47 kB / 0.9302 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/1.4, allocations: 0.7407 MB / 0.9309 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/1.4, allocations: 186.6 kB / 0.9311 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.693e-05/1.4, allocations: 6.969 kB / 0.9311 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005052/1.4, allocations: 56.73 kB / 0.9312 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/1.4, allocations: 25.69 kB / 0.9312 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/1.4, allocations: 14.73 kB / 0.9312 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003373/1.401, allocations: 367.6 kB / 0.9315 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/1.401, allocations: 0 / 0.9315 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008421/1.402, allocations: 331.8 kB / 0.9319 GB, free: 14.36 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004302/1.402, allocations: 188.9 kB / 0.932 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008877/1.403, allocations: 0.5225 MB / 0.9326 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.403, allocations: 0 / 0.9326 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002666/1.403, allocations: 188.9 kB / 0.9327 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/1.405, allocations: 371.7 kB / 0.9331 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/1.407, allocations: 1.554 MB / 0.9346 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004732/1.408, allocations: 0.9343 MB / 0.9355 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006052/1.408, allocations: 176 kB / 0.9357 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/1.408, allocations: 53.44 kB / 0.9357 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/1.408, allocations: 1.75 kB / 0.9357 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.01967/1.428, allocations: 11.45 MB / 0.9469 GB, free: 11.93 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) Environment - environmentSimulation: