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.001549/0.001549, allocations: 103.2 kB / 16.27 MB, free: 5.93 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.001695/0.001695, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.362/1.362, allocations: 222.9 MB / 240.9 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.8613/0.8613, allocations: 126.1 MB / 417.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 55.91 kB / 0.495 GB, free: 3.535 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4426/0.4439, allocations: 78.7 MB / 0.5718 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.6565/1.1, allocations: 183.2 MB / 0.7507 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007972/1.109, allocations: 4.872 MB / 0.7555 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/1.11, allocations: 31.38 kB / 0.7555 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001446/1.111, allocations: 433.4 kB / 0.7559 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004981/1.116, allocations: 1.41 MB / 0.7573 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002676/1.119, allocations: 0.7742 MB / 0.7581 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003114/1.122, allocations: 1.85 MB / 0.7599 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/1.123, allocations: 0.5888 MB / 0.7604 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002087/1.125, allocations: 0.8697 MB / 0.7613 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/1.126, allocations: 0.5452 MB / 0.7618 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001352/1.127, allocations: 58.19 kB / 0.7619 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003209/1.13, allocations: 1.41 MB / 0.7633 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003686/1.13, allocations: 267.7 kB / 0.7635 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005663/1.131, allocations: 402.6 kB / 0.7639 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002274/1.133, allocations: 1.403 MB / 0.7653 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/1.133, allocations: 0 / 0.7653 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.813e-06/1.133, allocations: 0.9688 kB / 0.7653 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.505e-05/1.133, allocations: 3.375 kB / 0.7653 GB, free: 1.508 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.001631/1.135, allocations: 1.097 MB / 0.7663 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/1.135, allocations: 7.938 kB / 0.7664 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/1.136, allocations: 216.4 kB / 0.7666 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009824/1.137, allocations: 0.5829 MB / 0.7671 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.371e-05/1.137, allocations: 35.34 kB / 0.7672 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.88e-05/1.137, allocations: 47.41 kB / 0.7672 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009282/1.138, allocations: 499.7 kB / 0.7677 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/1.138, allocations: 5.516 kB / 0.7677 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.039e-05/1.138, allocations: 21.47 kB / 0.7677 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-05/1.138, allocations: 19.66 kB / 0.7677 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008499/1.139, allocations: 436.5 kB / 0.7681 GB, free: 16.48 MB / 0.5919 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.002781/1.142, allocations: 2.017 MB / 0.7701 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006657/1.143, allocations: 355.9 kB / 0.7705 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000362/1.143, allocations: 207.1 kB / 0.7707 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003182/1.143, allocations: 192.8 kB / 0.7708 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/1.143, allocations: 38.19 kB / 0.7709 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 3.457e-06/1.143, allocations: 0.6875 kB / 0.7709 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001348/1.145, allocations: 0.5483 MB / 0.7714 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/1.145, allocations: 55.66 kB / 0.7715 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007036/1.146, allocations: 0.5063 MB / 0.772 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/1.146, allocations: 33.2 kB / 0.772 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/1.146, allocations: 302.1 kB / 0.7723 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/1.146, allocations: 123.6 kB / 0.7724 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/1.146, allocations: 67.08 kB / 0.7725 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001911/1.146, allocations: 370.1 kB / 0.7728 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/1.147, allocations: 141.7 kB / 0.7729 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003788/1.147, allocations: 221.3 kB / 0.7732 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006465/1.148, allocations: 334 kB / 0.7735 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.148, allocations: 3.938 kB / 0.7735 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006796/1.148, allocations: 434.5 kB / 0.7739 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/1.148, allocations: 5.969 kB / 0.7739 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1.148, allocations: 2.812 kB / 0.7739 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/1.149, allocations: 1.062 kB / 0.7739 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/1.149, allocations: 77.16 kB / 0.774 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/1.149, allocations: 4.156 kB / 0.774 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004825/1.149, allocations: 43.2 kB / 0.774 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/1.149, allocations: 13.75 kB / 0.774 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004175/1.15, allocations: 307.9 kB / 0.7743 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002795/1.15, allocations: 207.8 kB / 0.7745 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005018/1.151, allocations: 335.1 kB / 0.7748 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/1.151, allocations: 0 / 0.7748 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006591/1.151, allocations: 427.9 kB / 0.7753 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/1.151, allocations: 5.062 kB / 0.7753 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-06/1.151, allocations: 0.9062 kB / 0.7753 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.529e-06/1.151, allocations: 5.156 kB / 0.7753 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/1.152, allocations: 72.64 kB / 0.7753 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/1.152, allocations: 2.75 kB / 0.7753 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004401/1.152, allocations: 28.91 kB / 0.7754 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/1.152, allocations: 14.22 kB / 0.7754 GB, free: 13.95 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.0001401/1.152, allocations: 208.1 kB / 0.7756 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.652e-05/1.152, allocations: 59.97 kB / 0.7756 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007522/1.153, allocations: 422.2 kB / 0.776 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/1.153, allocations: 4.844 kB / 0.776 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.153, allocations: 0.9688 kB / 0.776 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006089/1.154, allocations: 438.3 kB / 0.7765 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/1.156, allocations: 1.172 MB / 0.7776 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.156, allocations: 4.375 kB / 0.7776 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/1.156, allocations: 83.5 kB / 0.7777 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/1.156, allocations: 3.156 kB / 0.7777 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/1.156, allocations: 11.09 kB / 0.7777 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.662e-05/1.156, allocations: 11.31 kB / 0.7777 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.156, allocations: 3.125 kB / 0.7777 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/1.157, allocations: 0.6933 MB / 0.7784 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002138/1.157, allocations: 177.6 kB / 0.7786 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.41e-05/1.157, allocations: 10.19 kB / 0.7786 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/1.158, allocations: 28.08 kB / 0.7786 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/1.158, allocations: 21.06 kB / 0.7786 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/1.158, allocations: 19.02 kB / 0.7786 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003609/1.158, allocations: 362.7 kB / 0.779 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.158, allocations: 4.219 kB / 0.779 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008524/1.159, allocations: 323.4 kB / 0.7793 GB, free: 12.69 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.0004632/1.16, allocations: 196.2 kB / 0.7795 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009756/1.161, allocations: 0.5516 MB / 0.78 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.161, allocations: 3.094 kB / 0.78 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002949/1.161, allocations: 178.2 kB / 0.7802 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/1.163, allocations: 350.6 kB / 0.7805 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/1.165, allocations: 1.263 MB / 0.7818 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/1.165, allocations: 0.9287 MB / 0.7827 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005755/1.166, allocations: 198.1 kB / 0.7829 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/1.166, allocations: 44.78 kB / 0.7829 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/1.166, allocations: 0.7812 kB / 0.7829 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of Templates: time 0.02087/1.187, allocations: 11.67 MB / 0.7943 GB, free: 10.26 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1)