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.001196/0.001196, allocations: 108.2 kB / 16.41 MB, free: 6.488 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.001169/0.001169, allocations: 183 kB / 17.34 MB, free: 5.766 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002231/0.002231, allocations: 293.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9459/0.9459, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 95.86 kB / 0.6821 GB, free: 7.031 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4575/0.4597, allocations: 86.98 MB / 0.767 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Delays.Examples.Delay): time 0.2049/0.6647, allocations: 183.2 MB / 0.946 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008496/0.6732, allocations: 4.871 MB / 0.9507 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.6745, allocations: 31.81 kB / 0.9508 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.6759, allocations: 433.3 kB / 0.9512 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003731/0.6797, allocations: 1.408 MB / 0.9525 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.6818, allocations: 0.7895 MB / 0.9533 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002443/0.6843, allocations: 1.85 MB / 0.9551 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000937/0.6852, allocations: 0.5925 MB / 0.9557 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001878/0.6871, allocations: 0.891 MB / 0.9566 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001439/0.6886, allocations: 0.5467 MB / 0.9571 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.6888, allocations: 59.94 kB / 0.9572 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.443/1.132, allocations: 1.403 MB / 0.9585 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004885/1.132, allocations: 262.3 kB / 0.9588 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007947/1.133, allocations: 405.7 kB / 0.9592 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003516/1.137, allocations: 1.426 MB / 0.9606 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/1.137, allocations: 0 / 0.9606 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.733e-06/1.137, allocations: 1.734 kB / 0.9606 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.557e-05/1.137, allocations: 0 / 0.9606 GB, free: 4.535 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.001902/1.139, allocations: 1.1 MB / 0.9616 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/1.139, allocations: 9.375 kB / 0.9616 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/1.14, allocations: 207.9 kB / 0.9618 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/1.141, allocations: 0.6134 MB / 0.9624 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/1.141, allocations: 38.7 kB / 0.9625 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.863e-05/1.141, allocations: 52.56 kB / 0.9625 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/1.142, allocations: 0.4885 MB / 0.963 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/1.142, allocations: 1.094 kB / 0.963 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.215e-05/1.142, allocations: 20.56 kB / 0.963 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.491e-05/1.142, allocations: 17.42 kB / 0.963 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000881/1.143, allocations: 436.4 kB / 0.9635 GB, free: 3.562 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.003074/1.146, allocations: 2.01 MB / 0.9654 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005631/1.147, allocations: 343 kB / 0.9658 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/1.147, allocations: 213.4 kB / 0.966 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003025/1.148, allocations: 191.7 kB / 0.9661 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/1.148, allocations: 38.56 kB / 0.9662 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/1.148, allocations: 0.9688 kB / 0.9662 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.001175/1.149, allocations: 0.5464 MB / 0.9667 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/1.149, allocations: 56.38 kB / 0.9668 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000573/1.15, allocations: 0.5024 MB / 0.9673 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.81e-05/1.15, allocations: 37.7 kB / 0.9673 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/1.15, allocations: 304.9 kB / 0.9676 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/1.15, allocations: 114.2 kB / 0.9677 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/1.15, allocations: 69.84 kB / 0.9678 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001611/1.15, allocations: 364.8 kB / 0.9681 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/1.15, allocations: 142.1 kB / 0.9682 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/1.151, allocations: 216.5 kB / 0.9684 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005547/1.151, allocations: 331.5 kB / 0.9688 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.151, allocations: 0.75 kB / 0.9688 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007812/1.152, allocations: 439 kB / 0.9692 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/1.152, allocations: 5.5 kB / 0.9692 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.152, allocations: 3.938 kB / 0.9692 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.152, allocations: 4.188 kB / 0.9692 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/1.153, allocations: 68.56 kB / 0.9693 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/1.153, allocations: 3.953 kB / 0.9693 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000542/1.153, allocations: 37.61 kB / 0.9693 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/1.153, allocations: 13.86 kB / 0.9693 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004707/1.154, allocations: 309.6 kB / 0.9696 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002934/1.154, allocations: 213.5 kB / 0.9698 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005278/1.155, allocations: 336.5 kB / 0.9701 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/1.155, allocations: 0 / 0.9701 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006906/1.155, allocations: 426.1 kB / 0.9705 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/1.155, allocations: 4.062 kB / 0.9705 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/1.155, allocations: 3.062 kB / 0.9705 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.573e-06/1.155, allocations: 6.531 kB / 0.9706 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/1.156, allocations: 72.42 kB / 0.9706 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/1.156, allocations: 4.266 kB / 0.9706 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004892/1.156, allocations: 29.86 kB / 0.9707 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/1.156, allocations: 18.08 kB / 0.9707 GB, free: 17.05 MB / 0.7325 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.0001666/1.156, allocations: 201.2 kB / 0.9709 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.583e-05/1.156, allocations: 60.19 kB / 0.9709 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007324/1.157, allocations: 429 kB / 0.9713 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/1.157, allocations: 4.906 kB / 0.9713 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.157, allocations: 3.734 kB / 0.9713 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005882/1.158, allocations: 437.4 kB / 0.9718 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/1.159, allocations: 1.17 MB / 0.9729 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/1.159, allocations: 1.062 kB / 0.9729 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003928/1.16, allocations: 89.47 kB / 0.973 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/1.16, allocations: 0 / 0.973 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/1.16, allocations: 12.97 kB / 0.973 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/1.16, allocations: 3.562 kB / 0.973 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.16, allocations: 2.562 kB / 0.973 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009565/1.161, allocations: 0.6985 MB / 0.9737 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/1.161, allocations: 178.8 kB / 0.9739 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.259e-05/1.161, allocations: 16.3 kB / 0.9739 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004543/1.162, allocations: 23.56 kB / 0.9739 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.984e-05/1.162, allocations: 29.94 kB / 0.9739 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/1.162, allocations: 13.97 kB / 0.9739 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000378/1.162, allocations: 365.4 kB / 0.9743 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.162, allocations: 0 / 0.9743 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009109/1.163, allocations: 324.7 kB / 0.9746 GB, free: 15.8 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.0005042/1.164, allocations: 191.6 kB / 0.9748 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009259/1.165, allocations: 0.5243 MB / 0.9753 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.165, allocations: 3.188 kB / 0.9753 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002637/1.165, allocations: 180.4 kB / 0.9755 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/1.166, allocations: 355.1 kB / 0.9758 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/1.168, allocations: 1.296 MB / 0.9771 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/1.169, allocations: 0.9331 MB / 0.978 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/1.169, allocations: 52.34 kB / 0.978 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of SimCode: time 6.01e-07/1.169, allocations: 0 / 0.978 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of Templates: time 0.0138/1.183, allocations: 9.727 MB / 0.9875 GB, free: 13.69 MB / 0.7325 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)