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.001527/0.001527, allocations: 104 kB / 16.94 MB, free: 6.191 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.001679/0.001679, allocations: 191.4 kB / 17.86 MB, free: 5.293 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.384/1.384, allocations: 222.9 MB / 241.6 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.8558/0.8558, allocations: 122.9 MB / 414.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 59.89 kB / 0.4917 GB, free: 7.457 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4297, allocations: 77.92 MB / 0.5678 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.208/0.6377, allocations: 183.2 MB / 0.7468 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4361/1.074, allocations: 4.852 MB / 0.7515 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/1.075, allocations: 31.09 kB / 0.7515 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001494/1.077, allocations: 429.9 kB / 0.7519 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00428/1.081, allocations: 1.411 MB / 0.7533 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002629/1.084, allocations: 0.772 MB / 0.7541 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003383/1.087, allocations: 1.846 MB / 0.7559 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/1.089, allocations: 0.5912 MB / 0.7565 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002581/1.091, allocations: 0.8656 MB / 0.7573 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/1.093, allocations: 0.5462 MB / 0.7578 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003357/1.093, allocations: 58.06 kB / 0.7579 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003868/1.097, allocations: 1.417 MB / 0.7593 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005977/1.098, allocations: 262.4 kB / 0.7595 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001279/1.099, allocations: 396.8 kB / 0.7599 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003349/1.103, allocations: 1.405 MB / 0.7613 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/1.103, allocations: 0.6094 kB / 0.7613 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.074e-06/1.103, allocations: 0 / 0.7613 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.333e-05/1.103, allocations: 1.406 kB / 0.7613 GB, free: 1.621 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.002178/1.105, allocations: 1.105 MB / 0.7624 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/1.105, allocations: 10.25 kB / 0.7624 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/1.106, allocations: 207.4 kB / 0.7626 GB, free: 16.92 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008949/1.107, allocations: 0.5872 MB / 0.7631 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/1.107, allocations: 34.91 kB / 0.7632 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/1.107, allocations: 49.16 kB / 0.7632 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009239/1.108, allocations: 0.492 MB / 0.7637 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/1.108, allocations: 2.312 kB / 0.7637 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.294e-05/1.108, allocations: 21.19 kB / 0.7637 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/1.108, allocations: 16.56 kB / 0.7637 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007976/1.109, allocations: 443.4 kB / 0.7642 GB, free: 16.58 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.002773/1.112, allocations: 2.015 MB / 0.7661 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006421/1.113, allocations: 351 kB / 0.7665 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003505/1.113, allocations: 208.5 kB / 0.7667 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000304/1.113, allocations: 191 kB / 0.7668 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/1.113, allocations: 44.52 kB / 0.7669 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/1.113, allocations: 4.297 kB / 0.7669 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001331/1.115, allocations: 0.5452 MB / 0.7674 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/1.115, allocations: 55.56 kB / 0.7675 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006291/1.115, allocations: 0.5061 MB / 0.768 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.404e-05/1.115, allocations: 36.42 kB / 0.768 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/1.116, allocations: 301.5 kB / 0.7683 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/1.116, allocations: 119.2 kB / 0.7684 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/1.116, allocations: 65.52 kB / 0.7685 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.116, allocations: 368.2 kB / 0.7688 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/1.116, allocations: 143.1 kB / 0.769 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/1.117, allocations: 219.6 kB / 0.7692 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005941/1.117, allocations: 341.2 kB / 0.7695 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.117, allocations: 64 / 0.7695 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008433/1.118, allocations: 438.3 kB / 0.7699 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/1.118, allocations: 5.906 kB / 0.7699 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/1.118, allocations: 4.781 kB / 0.7699 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/1.118, allocations: 3.375 kB / 0.7699 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/1.119, allocations: 70.72 kB / 0.77 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/1.119, allocations: 3.281 kB / 0.77 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005586/1.119, allocations: 41.77 kB / 0.77 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.728e-05/1.119, allocations: 12.3 kB / 0.77 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000508/1.12, allocations: 308.5 kB / 0.7703 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003172/1.12, allocations: 208.5 kB / 0.7705 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00056/1.121, allocations: 332.1 kB / 0.7709 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/1.121, allocations: 1.594 kB / 0.7709 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007536/1.121, allocations: 423.8 kB / 0.7713 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/1.121, allocations: 7.734 kB / 0.7713 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-06/1.121, allocations: 1.719 kB / 0.7713 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.663e-06/1.121, allocations: 6.719 kB / 0.7713 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/1.122, allocations: 70.62 kB / 0.7713 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/1.122, allocations: 3.125 kB / 0.7713 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005039/1.122, allocations: 33.14 kB / 0.7714 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/1.122, allocations: 11.27 kB / 0.7714 GB, free: 14.06 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.0001689/1.123, allocations: 200.4 kB / 0.7716 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/1.123, allocations: 68.97 kB / 0.7716 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008376/1.123, allocations: 427.2 kB / 0.7721 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/1.123, allocations: 3.594 kB / 0.7721 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.123, allocations: 1.5 kB / 0.7721 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005992/1.124, allocations: 435.8 kB / 0.7725 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/1.126, allocations: 1.173 MB / 0.7736 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.126, allocations: 4.344 kB / 0.7736 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000391/1.126, allocations: 86.61 kB / 0.7737 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/1.126, allocations: 2.094 kB / 0.7737 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/1.126, allocations: 12.38 kB / 0.7737 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/1.126, allocations: 4.344 kB / 0.7737 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.126, allocations: 2.094 kB / 0.7737 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009828/1.127, allocations: 0.7071 MB / 0.7744 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002552/1.128, allocations: 176.3 kB / 0.7746 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.723e-05/1.128, allocations: 6.688 kB / 0.7746 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004534/1.128, allocations: 26.25 kB / 0.7746 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/1.128, allocations: 27.58 kB / 0.7746 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/1.128, allocations: 23.14 kB / 0.7747 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003854/1.129, allocations: 363.4 kB / 0.775 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/1.129, allocations: 3.406 kB / 0.775 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009478/1.13, allocations: 319.3 kB / 0.7753 GB, free: 12.79 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.0004383/1.13, allocations: 194.1 kB / 0.7755 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001021/1.131, allocations: 0.5499 MB / 0.776 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.131, allocations: 4.188 kB / 0.776 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002892/1.131, allocations: 181.9 kB / 0.7762 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/1.133, allocations: 352.1 kB / 0.7766 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/1.135, allocations: 1.302 MB / 0.7778 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/1.135, allocations: 0.9292 MB / 0.7787 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/1.136, allocations: 50.05 kB / 0.7788 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of SimCode: time 6.91e-07/1.136, allocations: 0.8438 kB / 0.7788 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of Templates: time 0.01464/1.15, allocations: 9.673 MB / 0.7882 GB, free: 10.62 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)