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/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.325/1.325, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 174.8 kB / 327.6 MB, free: 2.172 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.4 MB / 0.5785 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007242/0.0007243, allocations: 95.34 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004054/0.0004055, allocations: 10.31 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2165, allocations: 106.3 MB / 0.9012 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.826/5.043, allocations: 2.196 GB / 3.097 GB, free: 23.02 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004434/5.043, allocations: 92.83 kB / 3.097 GB, free: 22.93 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.078/7.121, allocations: 468.8 MB / 3.555 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.784e-06/7.121, allocations: 0 / 3.555 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001033/7.121, allocations: 21.98 kB / 3.555 GB, free: 221.8 MB / 0.8855 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.002967/7.124, allocations: 1.076 MB / 3.556 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/7.124, allocations: 11.03 kB / 3.556 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/7.126, allocations: 210.7 kB / 3.556 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/7.128, allocations: 0.6511 MB / 3.557 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/7.128, allocations: 37.78 kB / 3.557 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/7.128, allocations: 50.41 kB / 3.557 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/7.129, allocations: 0.4892 MB / 3.557 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/7.129, allocations: 3.312 kB / 3.557 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.967e-05/7.129, allocations: 17.88 kB / 3.557 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.917e-05/7.129, allocations: 16.97 kB / 3.557 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008425/7.13, allocations: 432 kB / 3.558 GB, free: 220.9 MB / 0.8855 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.00301/7.133, allocations: 2.012 MB / 3.56 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000532/7.133, allocations: 349.4 kB / 3.56 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/7.134, allocations: 205.7 kB / 3.56 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002726/7.134, allocations: 190.9 kB / 3.56 GB, free: 219.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/7.134, allocations: 39.61 kB / 3.56 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 3.006e-06/7.134, allocations: 3.25 kB / 3.56 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.001257/7.135, allocations: 0.5382 MB / 3.561 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/7.135, allocations: 63.12 kB / 3.561 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005955/7.136, allocations: 0.5009 MB / 3.562 GB, free: 219.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.455e-05/7.136, allocations: 31.95 kB / 3.562 GB, free: 219.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/7.136, allocations: 311.1 kB / 3.562 GB, free: 219.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/7.136, allocations: 115.3 kB / 3.562 GB, free: 219.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.668e-05/7.136, allocations: 7.688 kB / 3.562 GB, free: 219.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001122/7.136, allocations: 367.7 kB / 3.562 GB, free: 218.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/7.137, allocations: 125.1 kB / 3.562 GB, free: 218.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/7.137, allocations: 229 kB / 3.563 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/7.138, allocations: 335.7 kB / 3.563 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/7.138, allocations: 0 / 3.563 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007129/7.138, allocations: 431 kB / 3.563 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.542e-05/7.138, allocations: 114 kB / 3.564 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/7.138, allocations: 0 / 3.564 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/7.138, allocations: 3.781 kB / 3.564 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/7.139, allocations: 76.06 kB / 3.564 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/7.139, allocations: 7.688 kB / 3.564 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006457/7.139, allocations: 66.02 kB / 3.564 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.6e-05/7.139, allocations: 14.22 kB / 3.564 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/7.139, allocations: 3.969 kB / 3.564 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005694/7.14, allocations: 350.4 kB / 3.564 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/7.14, allocations: 3.969 kB / 3.564 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.958e-06/7.14, allocations: 0 / 3.564 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/7.14, allocations: 77.88 kB / 3.564 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/7.14, allocations: 0 / 3.564 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006135/7.141, allocations: 65.39 kB / 3.564 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/7.141, allocations: 18 kB / 3.564 GB, free: 218.5 MB / 0.8855 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.0003393/7.141, allocations: 289.2 kB / 3.564 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/7.142, allocations: 64.5 kB / 3.565 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000697/7.142, allocations: 427 kB / 3.565 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/7.142, allocations: 3.625 kB / 3.565 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/7.142, allocations: 0 / 3.565 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005279/7.143, allocations: 433.5 kB / 3.565 GB, free: 218.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/7.145, allocations: 1.176 MB / 3.566 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/7.145, allocations: 3.75 kB / 3.566 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004038/7.145, allocations: 89.91 kB / 3.567 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/7.145, allocations: 3.469 kB / 3.567 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/7.145, allocations: 6.312 kB / 3.567 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/7.145, allocations: 6.812 kB / 3.567 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/7.145, allocations: 3.594 kB / 3.567 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009702/7.146, allocations: 0.7419 MB / 3.567 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002907/7.146, allocations: 186.5 kB / 3.567 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.031e-05/7.147, allocations: 6.281 kB / 3.567 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005415/7.147, allocations: 55.39 kB / 3.568 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/7.147, allocations: 33.78 kB / 3.568 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/7.147, allocations: 11.38 kB / 3.568 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003967/7.148, allocations: 360.9 kB / 3.568 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/7.148, allocations: 0 / 3.568 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001449/7.149, allocations: 452.8 kB / 3.568 GB, free: 217.3 MB / 0.8855 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.002145/7.151, allocations: 1.286 MB / 3.57 GB, free: 216.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009455/7.152, allocations: 0.5059 MB / 3.57 GB, free: 216.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/7.152, allocations: 2.188 kB / 3.57 GB, free: 216.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002986/7.152, allocations: 182.5 kB / 3.57 GB, free: 216.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/7.154, allocations: 376.9 kB / 3.571 GB, free: 216.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/7.156, allocations: 1.549 MB / 3.572 GB, free: 216.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/7.157, allocations: 0.9295 MB / 3.573 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0007345/7.158, allocations: 179.7 kB / 3.573 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/7.158, allocations: 52.28 kB / 3.573 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of SimCode: time 5.61e-07/7.158, allocations: 0 / 3.573 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.03889/7.197, allocations: 26.52 MB / 3.599 GB, free: 208.3 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.makefile (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)