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.001577/0.001577, allocations: 115.1 kB / 16.42 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.001732/0.001732, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002258/0.002258, allocations: 291.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9747/0.9747, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 91.86 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4737/0.4755, allocations: 86.98 MB / 0.767 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Delays.Examples.Delay): time 0.2027/0.6782, allocations: 183.2 MB / 0.946 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008501/0.6868, allocations: 4.874 MB / 0.9507 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.688, allocations: 27.81 kB / 0.9508 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.6893, allocations: 433.3 kB / 0.9512 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003622/0.6929, allocations: 1.408 MB / 0.9525 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.695, allocations: 0.7922 MB / 0.9533 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002399/0.6974, allocations: 1.848 MB / 0.9551 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008473/0.6983, allocations: 0.5926 MB / 0.9557 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001848/0.7001, allocations: 0.8872 MB / 0.9566 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.7013, allocations: 0.54 MB / 0.9571 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.7015, allocations: 60 kB / 0.9572 GB, free: 476 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5067/1.208, allocations: 1.409 MB / 0.9585 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005296/1.209, allocations: 262.9 kB / 0.9588 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008808/1.21, allocations: 396.5 kB / 0.9592 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003734/1.213, allocations: 1.431 MB / 0.9606 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/1.213, allocations: 2.453 kB / 0.9606 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.324e-06/1.213, allocations: 1 kB / 0.9606 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.556e-05/1.213, allocations: 0 / 0.9606 GB, free: 4.465 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.002067/1.216, allocations: 1.1 MB / 0.9616 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.216, allocations: 8.75 kB / 0.9616 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/1.217, allocations: 213 kB / 0.9618 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/1.218, allocations: 0.6105 MB / 0.9624 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/1.218, allocations: 34.56 kB / 0.9625 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/1.218, allocations: 55.09 kB / 0.9625 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/1.219, allocations: 0.4905 MB / 0.963 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/1.219, allocations: 2.469 kB / 0.963 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.247e-05/1.219, allocations: 18.38 kB / 0.963 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.123e-05/1.219, allocations: 17.64 kB / 0.963 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009003/1.22, allocations: 438.6 kB / 0.9635 GB, free: 3.488 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.003178/1.224, allocations: 2.01 MB / 0.9654 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006261/1.224, allocations: 345.6 kB / 0.9658 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003532/1.225, allocations: 208.4 kB / 0.966 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003341/1.225, allocations: 198.1 kB / 0.9661 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/1.225, allocations: 42.64 kB / 0.9662 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.956e-06/1.225, allocations: 0 / 0.9662 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.001319/1.226, allocations: 0.5424 MB / 0.9667 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/1.226, allocations: 58.78 kB / 0.9668 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006047/1.227, allocations: 0.5058 MB / 0.9673 GB, free: 18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.045e-05/1.227, allocations: 31.3 kB / 0.9673 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00026/1.227, allocations: 303.2 kB / 0.9676 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/1.227, allocations: 124.4 kB / 0.9677 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/1.228, allocations: 62.41 kB / 0.9678 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002142/1.228, allocations: 366.3 kB / 0.9681 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/1.228, allocations: 145.4 kB / 0.9682 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/1.229, allocations: 211.6 kB / 0.9684 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006675/1.229, allocations: 335.4 kB / 0.9688 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.229, allocations: 1.375 kB / 0.9688 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008626/1.23, allocations: 431.7 kB / 0.9692 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/1.23, allocations: 6.547 kB / 0.9692 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/1.23, allocations: 2.125 kB / 0.9692 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/1.23, allocations: 7.734 kB / 0.9692 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/1.231, allocations: 73.05 kB / 0.9693 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/1.231, allocations: 2.219 kB / 0.9693 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005216/1.231, allocations: 38.42 kB / 0.9693 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/1.231, allocations: 10.62 kB / 0.9693 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004709/1.232, allocations: 314.4 kB / 0.9696 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003152/1.232, allocations: 208.8 kB / 0.9698 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005499/1.232, allocations: 336.2 kB / 0.9701 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.432e-06/1.232, allocations: 0 / 0.9701 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006612/1.233, allocations: 427.6 kB / 0.9705 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/1.233, allocations: 4.781 kB / 0.9705 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/1.233, allocations: 4.766 kB / 0.9706 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.158e-06/1.233, allocations: 3.828 kB / 0.9706 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/1.234, allocations: 76.02 kB / 0.9706 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/1.234, allocations: 3.438 kB / 0.9706 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004869/1.234, allocations: 31.45 kB / 0.9707 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/1.234, allocations: 12 kB / 0.9707 GB, free: 16.98 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.0001641/1.234, allocations: 200 kB / 0.9709 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.885e-05/1.234, allocations: 61.72 kB / 0.9709 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000731/1.235, allocations: 429 kB / 0.9713 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005944/1.236, allocations: 437.9 kB / 0.9717 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/1.236, allocations: 0 / 0.9717 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002278/1.236, allocations: 178.8 kB / 0.9719 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.752e-05/1.236, allocations: 6.188 kB / 0.9719 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000453/1.236, allocations: 26.06 kB / 0.9719 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.372e-05/1.237, allocations: 18.34 kB / 0.972 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009515/1.237, allocations: 489.1 kB / 0.9724 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001013/1.239, allocations: 0.767 MB / 0.9732 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002795/1.239, allocations: 166.8 kB / 0.9733 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004344/1.239, allocations: 362.8 kB / 0.9737 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of Backend: time 5.01e-07/1.239, allocations: 0 / 0.9737 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002406/1.242, allocations: 0.7561 MB / 0.9744 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of SimCode: time 0.003064/1.245, allocations: 1.825 MB / 0.9762 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of Templates: time 0.02819/1.273, allocations: 15.45 MB / 0.9913 GB, free: 13.93 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)