Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay") translateModel(BuildingSystems.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.007642/0.007642, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001747/0.001747, allocations: 196.7 kB / 16.67 MB, free: 5.977 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002224/0.002224, allocations: 278.7 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9501/0.9501, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002566/0.002566, allocations: 104.5 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1987, allocations: 86.97 MB / 0.7664 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Delays.Examples.Delay): time 0.5572/0.7559, allocations: 183.2 MB / 0.9453 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007469/0.7634, allocations: 4.868 MB / 0.9501 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.7645, allocations: 31.81 kB / 0.9501 GB, free: 6.641 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.7657, allocations: 445.4 kB / 0.9505 GB, free: 6.203 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003473/0.7693, allocations: 1.404 MB / 0.9519 GB, free: 4.793 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.7712, allocations: 0.7776 MB / 0.9526 GB, free: 4.023 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002359/0.7736, allocations: 1.845 MB / 0.9544 GB, free: 2.176 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008177/0.7744, allocations: 0.6163 MB / 0.955 GB, free: 1.547 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.7763, allocations: 0.8833 MB / 0.9559 GB, free: 0.6602 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00119/0.7775, allocations: 0.5435 MB / 0.9564 GB, free: 124 kB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 9.951e-05/0.7776, allocations: 60 kB / 0.9565 GB, free: 64 kB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002553/0.7801, allocations: 1.415 MB / 0.9579 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002487/0.7804, allocations: 267.1 kB / 0.9581 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003704/0.7808, allocations: 398.1 kB / 0.9585 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.7826, allocations: 1.426 MB / 0.9599 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.7826, allocations: 0 / 0.9599 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7826, allocations: 0 / 0.9599 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.7826, allocations: 0 / 0.9599 GB, free: 12.56 MB / 0.7169 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.001589/0.7842, allocations: 1.098 MB / 0.961 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.7843, allocations: 12.03 kB / 0.961 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.7855, allocations: 206.9 kB / 0.9612 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009873/0.7865, allocations: 0.6277 MB / 0.9618 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.7866, allocations: 36.94 kB / 0.9618 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.542e-05/0.7866, allocations: 48 kB / 0.9619 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008154/0.7875, allocations: 498.3 kB / 0.9624 GB, free: 9.961 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.7875, allocations: 3.938 kB / 0.9624 GB, free: 9.957 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.852e-05/0.7875, allocations: 20 kB / 0.9624 GB, free: 9.938 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/0.7876, allocations: 21 kB / 0.9624 GB, free: 9.918 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007639/0.7883, allocations: 435.7 kB / 0.9628 GB, free: 9.492 MB / 0.7169 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.002508/0.7909, allocations: 2.006 MB / 0.9648 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006096/0.7915, allocations: 343.5 kB / 0.9651 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000347/0.7918, allocations: 203.3 kB / 0.9653 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002753/0.7921, allocations: 202.4 kB / 0.9655 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.7922, allocations: 34.84 kB / 0.9655 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 2.134e-06/0.7922, allocations: 0 / 0.9655 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.001215/0.7934, allocations: 0.5493 MB / 0.9661 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.7934, allocations: 51.41 kB / 0.9661 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005371/0.794, allocations: 0.5108 MB / 0.9666 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.794, allocations: 33.7 kB / 0.9666 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.7943, allocations: 312.2 kB / 0.9669 GB, free: 5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.7944, allocations: 110.3 kB / 0.967 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.7945, allocations: 69.92 kB / 0.9671 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.7947, allocations: 370.8 kB / 0.9675 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002719/0.7949, allocations: 138.1 kB / 0.9676 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.7953, allocations: 220.3 kB / 0.9678 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005848/0.7959, allocations: 340.9 kB / 0.9681 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.7959, allocations: 5.938 kB / 0.9681 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007188/0.7966, allocations: 436.5 kB / 0.9685 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.7966, allocations: 4 kB / 0.9685 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.7966, allocations: 0 / 0.9685 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.7967, allocations: 4 kB / 0.9686 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.797, allocations: 71.91 kB / 0.9686 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.797, allocations: 3.938 kB / 0.9686 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004305/0.7974, allocations: 39.66 kB / 0.9687 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.7975, allocations: 16 kB / 0.9687 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004154/0.7979, allocations: 311.2 kB / 0.969 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002964/0.7982, allocations: 202.8 kB / 0.9692 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005199/0.7987, allocations: 335.4 kB / 0.9695 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.303e-06/0.7987, allocations: 0 / 0.9695 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006945/0.7994, allocations: 424.6 kB / 0.9699 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.7995, allocations: 4 kB / 0.9699 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.7995, allocations: 4.094 kB / 0.9699 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-06/0.7995, allocations: 4 kB / 0.9699 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/0.7998, allocations: 67.91 kB / 0.97 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.656e-06/0.7998, allocations: 0 / 0.97 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004503/0.8003, allocations: 43.75 kB / 0.97 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.8003, allocations: 8 kB / 0.97 GB, free: 1.734 MB / 0.7169 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.0001969/0.8005, allocations: 200.1 kB / 0.9702 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.8007, allocations: 67.19 kB / 0.9703 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008243/0.8015, allocations: 435.9 kB / 0.9707 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.8015, allocations: 0 / 0.9707 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.026e-06/0.8015, allocations: 7.938 kB / 0.9707 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006285/0.8021, allocations: 432.2 kB / 0.9711 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.804, allocations: 1.174 MB / 0.9723 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.804, allocations: 0 / 0.9723 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004166/0.8045, allocations: 84.08 kB / 0.9723 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.8045, allocations: 4 kB / 0.9723 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.8045, allocations: 12 kB / 0.9723 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.8045, allocations: 4 kB / 0.9724 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.8045, allocations: 4 kB / 0.9724 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.8055, allocations: 0.7106 MB / 0.9731 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002533/0.8058, allocations: 176.4 kB / 0.9732 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.497e-05/0.8059, allocations: 8 kB / 0.9732 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.8063, allocations: 27.97 kB / 0.9733 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.8064, allocations: 23.97 kB / 0.9733 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.8064, allocations: 12 kB / 0.9733 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003855/0.8068, allocations: 366.8 kB / 0.9736 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8068, allocations: 0 / 0.9736 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008007/0.8076, allocations: 319.2 kB / 0.9739 GB, free: 13.55 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.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.0004058/0.808, allocations: 196.7 kB / 0.9741 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009444/0.809, allocations: 0.5235 MB / 0.9746 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.809, allocations: 0 / 0.9746 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003009/0.8093, allocations: 181.6 kB / 0.9748 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.8109, allocations: 353.4 kB / 0.9752 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.8127, allocations: 1.252 MB / 0.9764 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.8132, allocations: 0.9295 MB / 0.9773 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005275/0.8137, allocations: 184.8 kB / 0.9775 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.8139, allocations: 47.42 kB / 0.9775 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.8139, allocations: 0 / 0.9775 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of Templates: time 0.02263/0.8365, allocations: 11.97 MB / 0.9892 GB, free: 14.08 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.sim & ./BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe 2>&1)