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.0008448/0.0008445, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001018/0.001018, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.3 MB / 240 MB, free: 5.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001722/0.001722, allocations: 266.7 kB / 291.3 MB, free: 1.754 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.024/1.024, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004165/0.0004166, allocations: 12.81 kB / 0.598 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1552, allocations: 88.55 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Delays.Examples.Delay): time 0.531/0.6862, allocations: 166.6 MB / 0.8472 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00884/0.6951, allocations: 4.572 MB / 0.8517 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00091/0.6961, allocations: 25.38 kB / 0.8517 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009706/0.697, allocations: 288.5 kB / 0.852 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00327/0.7003, allocations: 1.038 MB / 0.853 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.7021, allocations: 0.604 MB / 0.8536 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002333/0.7045, allocations: 2.142 MB / 0.8557 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006053/0.7051, allocations: 440.8 kB / 0.8561 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.7065, allocations: 0.7226 MB / 0.8568 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006986/0.7072, allocations: 0.5105 MB / 0.8573 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.283e-05/0.7073, allocations: 24.66 kB / 0.8573 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.7092, allocations: 0.8783 MB / 0.8582 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002418/0.7095, allocations: 229.1 kB / 0.8584 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.7097, allocations: 163.2 kB / 0.8585 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.7107, allocations: 0.9535 MB / 0.8595 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.7108, allocations: 2.938 kB / 0.8595 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7108, allocations: 0 / 0.8595 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.7108, allocations: 0 / 0.8595 GB, free: 7.988 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.001526/0.7123, allocations: 0.9667 MB / 0.8604 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.7124, allocations: 18.67 kB / 0.8604 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.7136, allocations: 211.6 kB / 0.8606 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000797/0.7144, allocations: 0.5611 MB / 0.8612 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.7144, allocations: 31.41 kB / 0.8612 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.747e-05/0.7145, allocations: 50.03 kB / 0.8613 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008273/0.7153, allocations: 0.4955 MB / 0.8618 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.7153, allocations: 3.188 kB / 0.8618 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.81e-05/0.7154, allocations: 18.97 kB / 0.8618 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.758e-05/0.7154, allocations: 16.91 kB / 0.8618 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007184/0.7161, allocations: 445.1 kB / 0.8622 GB, free: 6.098 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.002756/0.7189, allocations: 2.016 MB / 0.8642 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006362/0.7196, allocations: 344.8 kB / 0.8645 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/0.7199, allocations: 213.6 kB / 0.8647 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003349/0.7203, allocations: 195.2 kB / 0.8649 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.7203, allocations: 41.94 kB / 0.8649 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.435e-06/0.7203, allocations: 0 / 0.8649 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001231/0.7216, allocations: 0.5504 MB / 0.8655 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.7216, allocations: 53.91 kB / 0.8655 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005334/0.7222, allocations: 0.5081 MB / 0.866 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.7222, allocations: 32.73 kB / 0.8661 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.7224, allocations: 307.7 kB / 0.8663 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.7225, allocations: 119 kB / 0.8665 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.806e-05/0.7226, allocations: 4 kB / 0.8665 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.7227, allocations: 368.5 kB / 0.8668 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.723, allocations: 139.6 kB / 0.867 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/0.7233, allocations: 219.1 kB / 0.8672 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.7236, allocations: 163.8 kB / 0.8673 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.7236, allocations: 3.094 kB / 0.8673 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006459/0.7242, allocations: 438.4 kB / 0.8677 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.536e-05/0.7243, allocations: 126.4 kB / 0.8679 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.7243, allocations: 6.922 kB / 0.8679 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.7244, allocations: 6.625 kB / 0.8679 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/0.7247, allocations: 73.47 kB / 0.8679 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.7248, allocations: 7.672 kB / 0.8679 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005512/0.7253, allocations: 64.89 kB / 0.868 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.7254, allocations: 13.25 kB / 0.868 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.252e-06/0.7254, allocations: 4.906 kB / 0.868 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005629/0.726, allocations: 349.2 kB / 0.8684 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-06/0.726, allocations: 0 / 0.8684 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-06/0.726, allocations: 2.844 kB / 0.8684 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.7263, allocations: 75.44 kB / 0.8684 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.7263, allocations: 7.891 kB / 0.8684 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/0.7267, allocations: 66.05 kB / 0.8685 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.7268, allocations: 18.95 kB / 0.8685 GB, free: 1.48 MB / 0.5762 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.0002881/0.727, allocations: 288.5 kB / 0.8688 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.445e-05/0.7271, allocations: 57.72 kB / 0.8689 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007231/0.7279, allocations: 426.7 kB / 0.8693 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.7279, allocations: 9.109 kB / 0.8693 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.7279, allocations: 7.953 kB / 0.8693 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005543/0.7285, allocations: 439.6 kB / 0.8697 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.7301, allocations: 1.175 MB / 0.8708 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.7301, allocations: 10.27 kB / 0.8709 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.7305, allocations: 96.78 kB / 0.8709 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.7305, allocations: 2.781 kB / 0.8709 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.7305, allocations: 6.281 kB / 0.871 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.7306, allocations: 9.719 kB / 0.871 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7306, allocations: 0 / 0.871 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009626/0.7315, allocations: 0.718 MB / 0.8717 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/0.7317, allocations: 180.6 kB / 0.8718 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.14e-05/0.7318, allocations: 12.45 kB / 0.8718 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00045/0.7323, allocations: 57.77 kB / 0.8719 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/0.7324, allocations: 22.22 kB / 0.8719 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.7324, allocations: 11.53 kB / 0.8719 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003821/0.7328, allocations: 367.1 kB / 0.8723 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7328, allocations: 0 / 0.8723 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007726/0.7336, allocations: 317.5 kB / 0.8726 GB, free: 14.8 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 (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.0004461/0.734, allocations: 185.9 kB / 0.8728 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009313/0.735, allocations: 0.5334 MB / 0.8733 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.735, allocations: 0 / 0.8733 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.7353, allocations: 187.6 kB / 0.8735 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/0.7369, allocations: 375.8 kB / 0.8738 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.7391, allocations: 1.56 MB / 0.8753 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005772/0.7397, allocations: 0.9334 MB / 0.8763 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006063/0.7403, allocations: 184.7 kB / 0.8764 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.7404, allocations: 43.44 kB / 0.8765 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of SimCode: time 4.5e-07/0.7404, allocations: 0 / 0.8765 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of Templates: time 0.01922/0.7597, allocations: 10.95 MB / 0.8872 GB, free: 316 kB / 0.5919 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)