Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.000888/0.000888, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001049/0.001049, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.641/1.641, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.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.0005507/0.0005508, allocations: 12.91 kB / 0.6735 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2608, allocations: 116.3 MB / 0.7871 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.6895/0.9503, allocations: 152.6 MB / 0.9361 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009026/0.9594, allocations: 4.731 MB / 0.9407 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/0.9608, allocations: 23.66 kB / 0.9407 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001658/0.9625, allocations: 447.5 kB / 0.9412 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00604/0.9685, allocations: 1.357 MB / 0.9425 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003522/0.9721, allocations: 0.8714 MB / 0.9433 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003139/0.9752, allocations: 1.078 MB / 0.9444 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.9763, allocations: 449.2 kB / 0.9448 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001905/0.9782, allocations: 0.5938 MB / 0.9454 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007338/0.979, allocations: 349.8 kB / 0.9457 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.961e-05/0.979, allocations: 23.56 kB / 0.9458 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.9814, allocations: 0.6929 MB / 0.9464 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002723/0.9817, allocations: 202.8 kB / 0.9466 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007111/0.9824, allocations: 172.3 kB / 0.9468 GB, free: 21.47 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.9842, allocations: 0.873 MB / 0.9476 GB, free: 21.41 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.9842, allocations: 0.8125 kB / 0.9476 GB, free: 21.41 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.178e-06/0.9842, allocations: 0 / 0.9476 GB, free: 21.41 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.9842, allocations: 0 / 0.9476 GB, free: 21.41 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001802/0.986, allocations: 0.9403 MB / 0.9486 GB, free: 20.78 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.9861, allocations: 9.906 kB / 0.9486 GB, free: 20.78 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.9874, allocations: 213.8 kB / 0.9488 GB, free: 20.73 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009809/0.9884, allocations: 0.5552 MB / 0.9493 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.273e-05/0.9884, allocations: 41.2 kB / 0.9494 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.246e-05/0.9885, allocations: 46.66 kB / 0.9494 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009388/0.9895, allocations: 493.8 kB / 0.9499 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.9895, allocations: 4.281 kB / 0.9499 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-05/0.9896, allocations: 22.69 kB / 0.9499 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.71e-05/0.9896, allocations: 16.91 kB / 0.9499 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008071/0.9904, allocations: 439.6 kB / 0.9503 GB, free: 20.41 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.00287/0.9933, allocations: 2.003 MB / 0.9523 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006331/0.994, allocations: 367.2 kB / 0.9526 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.801e-05/0.9941, allocations: 7.656 kB / 0.9526 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.9941, allocations: 42.64 kB / 0.9527 GB, free: 19.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 1.773e-06/0.9941, allocations: 0 / 0.9527 GB, free: 19.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.001243/0.9954, allocations: 0.5572 MB / 0.9532 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.9954, allocations: 56.12 kB / 0.9533 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005596/0.996, allocations: 0.4958 MB / 0.9538 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.21e-05/0.996, allocations: 31.67 kB / 0.9538 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.9962, allocations: 302.1 kB / 0.9541 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.9964, allocations: 120 kB / 0.9542 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/0.9964, allocations: 14.59 kB / 0.9542 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.9965, allocations: 361.5 kB / 0.9546 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/0.9968, allocations: 140.1 kB / 0.9547 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.9971, allocations: 215.9 kB / 0.9549 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.9974, allocations: 168.9 kB / 0.9551 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.9974, allocations: 2.875 kB / 0.9551 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007036/0.9981, allocations: 439.7 kB / 0.9555 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.9983, allocations: 361.7 kB / 0.9558 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.9983, allocations: 0 / 0.9558 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.9983, allocations: 2.844 kB / 0.9558 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.9987, allocations: 76.25 kB / 0.9559 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.9987, allocations: 2.219 kB / 0.9559 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005809/0.9993, allocations: 61.81 kB / 0.956 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/0.9993, allocations: 15.22 kB / 0.956 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.9993, allocations: 8.109 kB / 0.956 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005994/0.9999, allocations: 351.3 kB / 0.9563 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-06/1, allocations: 0 / 0.9563 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.719e-06/1, allocations: 5.531 kB / 0.9563 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/1, allocations: 75.69 kB / 0.9564 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/1, allocations: 1.375 kB / 0.9564 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004745/1.001, allocations: 58.48 kB / 0.9565 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/1.001, allocations: 17.72 kB / 0.9565 GB, free: 17.94 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003211/1.001, allocations: 291.2 kB / 0.9567 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-05/1.001, allocations: 64.11 kB / 0.9568 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007369/1.002, allocations: 431.1 kB / 0.9572 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/1.002, allocations: 6.75 kB / 0.9572 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/1.002, allocations: 1.219 kB / 0.9572 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005892/1.003, allocations: 440.8 kB / 0.9576 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/1.004, allocations: 1.188 MB / 0.9588 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/1.004, allocations: 1.375 kB / 0.9588 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004134/1.005, allocations: 85.44 kB / 0.9589 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/1.005, allocations: 3.344 kB / 0.9589 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/1.005, allocations: 10.03 kB / 0.9589 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/1.005, allocations: 8.828 kB / 0.9589 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.005, allocations: 2.5 kB / 0.9589 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/1.006, allocations: 0.8102 MB / 0.9597 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002531/1.006, allocations: 179.6 kB / 0.9599 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.625e-05/1.006, allocations: 13.3 kB / 0.9599 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004946/1.007, allocations: 56.69 kB / 0.9599 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/1.007, allocations: 20.28 kB / 0.96 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/1.007, allocations: 17.7 kB / 0.96 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004048/1.007, allocations: 363.1 kB / 0.9603 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7.62e-07/1.007, allocations: 0 / 0.9603 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001051/1.008, allocations: 324 kB / 0.9606 GB, free: 16.52 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 (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.0004479/1.009, allocations: 190.6 kB / 0.9608 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009667/1.01, allocations: 0.524 MB / 0.9613 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.01, allocations: 1.281 kB / 0.9613 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003088/1.01, allocations: 186.6 kB / 0.9615 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/1.012, allocations: 364.5 kB / 0.9619 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/1.014, allocations: 1.539 MB / 0.9634 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/1.014, allocations: 0.943 MB / 0.9643 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006075/1.015, allocations: 180.1 kB / 0.9645 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/1.015, allocations: 50.28 kB / 0.9645 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of SimCode: time 1.092e-06/1.015, allocations: 0 / 0.9645 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of Templates: time 0.01678/1.032, allocations: 10.97 MB / 0.9752 GB, free: 11.07 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Delays.Examples.Delay.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_8_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_8_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) Environment - environmentSimulation: