Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay") translateModel(IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001248/0.001248, allocations: 114.4 kB / 17.04 MB, free: 6.074 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.0009792/0.0009792, allocations: 195 kB / 17.98 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 222.9 MB / 241.7 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7069/0.7069, allocations: 115.1 MB / 406.9 MB, free: 6.391 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 60.12 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3261, allocations: 76.15 MB / 0.5576 GB, free: 36.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.1831/0.5092, allocations: 183.2 MB / 0.7365 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008297/0.5175, allocations: 4.869 MB / 0.7413 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.5187, allocations: 27.81 kB / 0.7413 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.52, allocations: 445.3 kB / 0.7417 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003166/0.5231, allocations: 1.404 MB / 0.7431 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.5251, allocations: 0.7892 MB / 0.7439 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002256/0.5274, allocations: 1.837 MB / 0.7456 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007792/0.5281, allocations: 0.594 MB / 0.7462 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001543/0.5297, allocations: 0.8716 MB / 0.7471 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009797/0.5307, allocations: 0.5412 MB / 0.7476 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.358e-05/0.5308, allocations: 60 kB / 0.7477 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3074/0.8382, allocations: 1.411 MB / 0.749 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005389/0.8388, allocations: 259.5 kB / 0.7493 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.8398, allocations: 399.9 kB / 0.7497 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003263/0.8431, allocations: 1.422 MB / 0.7511 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.8431, allocations: 0 / 0.7511 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8432, allocations: 0 / 0.7511 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.766e-05/0.8432, allocations: 0 / 0.7511 GB, free: 4.832 MB / 0.5762 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.002537/0.8457, allocations: 1.107 MB / 0.7521 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.8458, allocations: 9.219 kB / 0.7521 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.8473, allocations: 211.3 kB / 0.7523 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.8485, allocations: 0.6105 MB / 0.7529 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.634e-05/0.8486, allocations: 37.25 kB / 0.753 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.608e-05/0.8487, allocations: 52.19 kB / 0.753 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009502/0.8496, allocations: 497.4 kB / 0.7535 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.8497, allocations: 0 / 0.7535 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.878e-05/0.8497, allocations: 20.19 kB / 0.7535 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.25e-05/0.8498, allocations: 17.78 kB / 0.7535 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008286/0.8506, allocations: 440.7 kB / 0.754 GB, free: 3.867 MB / 0.5762 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.003152/0.8538, allocations: 2.01 MB / 0.7559 GB, free: 18.89 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006856/0.8544, allocations: 355.9 kB / 0.7563 GB, free: 18.86 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003863/0.8548, allocations: 214.6 kB / 0.7565 GB, free: 18.85 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003176/0.8552, allocations: 191.8 kB / 0.7567 GB, free: 18.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.8552, allocations: 38.05 kB / 0.7567 GB, free: 18.62 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.925e-06/0.8552, allocations: 0 / 0.7567 GB, free: 18.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.0014/0.8566, allocations: 0.5461 MB / 0.7572 GB, free: 18.55 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.8567, allocations: 56.25 kB / 0.7573 GB, free: 18.49 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006688/0.8574, allocations: 0.5101 MB / 0.7578 GB, free: 18.37 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/0.8574, allocations: 37.23 kB / 0.7578 GB, free: 18.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/0.8577, allocations: 302.7 kB / 0.7581 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.8578, allocations: 117.4 kB / 0.7582 GB, free: 18.13 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.8579, allocations: 67.16 kB / 0.7583 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.8581, allocations: 365.3 kB / 0.7586 GB, free: 17.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/0.8584, allocations: 142.8 kB / 0.7588 GB, free: 17.79 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/0.8587, allocations: 213.6 kB / 0.759 GB, free: 17.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005599/0.8593, allocations: 338.8 kB / 0.7593 GB, free: 17.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.8593, allocations: 1.469 kB / 0.7593 GB, free: 17.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007514/0.8601, allocations: 431.3 kB / 0.7597 GB, free: 17.63 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.8601, allocations: 6.766 kB / 0.7597 GB, free: 17.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.8601, allocations: 5.094 kB / 0.7597 GB, free: 17.63 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.8601, allocations: 3.516 kB / 0.7597 GB, free: 17.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003399/0.8605, allocations: 71.77 kB / 0.7598 GB, free: 17.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.8605, allocations: 2.5 kB / 0.7598 GB, free: 17.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004957/0.861, allocations: 39.94 kB / 0.7598 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.861, allocations: 14.45 kB / 0.7598 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004845/0.8615, allocations: 308.9 kB / 0.7601 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003249/0.8619, allocations: 216.3 kB / 0.7603 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005521/0.8624, allocations: 329.5 kB / 0.7606 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.044e-06/0.8624, allocations: 1.766 kB / 0.7607 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007217/0.8632, allocations: 425.8 kB / 0.7611 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.8632, allocations: 6.422 kB / 0.7611 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.8632, allocations: 3.156 kB / 0.7611 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.804e-06/0.8632, allocations: 7.688 kB / 0.7611 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.8635, allocations: 70.89 kB / 0.7611 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.8635, allocations: 2.062 kB / 0.7611 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004468/0.864, allocations: 38.91 kB / 0.7612 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.864, allocations: 11.61 kB / 0.7612 GB, free: 17.34 MB / 0.5919 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.0001531/0.8642, allocations: 197 kB / 0.7614 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.8643, allocations: 60.88 kB / 0.7614 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008528/0.8652, allocations: 424.8 kB / 0.7618 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.8652, allocations: 4.969 kB / 0.7618 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.8652, allocations: 2.156 kB / 0.7618 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006698/0.8659, allocations: 438.8 kB / 0.7623 GB, free: 16.92 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001891/0.8678, allocations: 1.17 MB / 0.7634 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.8678, allocations: 2.469 kB / 0.7634 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004013/0.8682, allocations: 86.72 kB / 0.7635 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.8682, allocations: 3.812 kB / 0.7635 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.8682, allocations: 12.39 kB / 0.7635 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.8683, allocations: 6.906 kB / 0.7635 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.8683, allocations: 1.625 kB / 0.7635 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009591/0.8692, allocations: 0.7002 MB / 0.7642 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/0.8695, allocations: 181.2 kB / 0.7644 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.306e-05/0.8696, allocations: 13.22 kB / 0.7644 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/0.87, allocations: 24.56 kB / 0.7644 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.147e-05/0.8701, allocations: 24.91 kB / 0.7644 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.8701, allocations: 13.25 kB / 0.7644 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003997/0.8705, allocations: 368.5 kB / 0.7648 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.112e-06/0.8705, allocations: 1.438 kB / 0.7648 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009661/0.8715, allocations: 323.7 kB / 0.7651 GB, free: 16.08 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * 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.0004094/0.8719, allocations: 197 kB / 0.7653 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009549/0.8729, allocations: 0.5226 MB / 0.7658 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8729, allocations: 0 / 0.7658 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000266/0.8732, allocations: 181.8 kB / 0.766 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.8745, allocations: 345.4 kB / 0.7663 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.8763, allocations: 1.254 MB / 0.7675 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/0.8768, allocations: 0.9334 MB / 0.7684 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005288/0.8774, allocations: 183.3 kB / 0.7686 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.8775, allocations: 49.78 kB / 0.7687 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of SimCode: time 4.61e-07/0.8775, allocations: 0.8438 kB / 0.7687 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of Templates: time 0.01864/0.8962, allocations: 11.67 MB / 0.7801 GB, free: 14.17 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.sim & ./IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1)