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.001324/0.001324, allocations: 110.2 kB / 16.38 MB, free: 5.992 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.001121/0.001121, allocations: 189.4 kB / 17.31 MB, free: 5.617 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.277/1.277, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002106/0.002106, allocations: 283 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9609/0.9609, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 91.86 kB / 0.682 GB, free: 7.047 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4158, allocations: 86.98 MB / 0.767 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Delays.Examples.Delay): time 0.1761/0.5919, allocations: 183.2 MB / 0.9459 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007594/0.5996, allocations: 4.876 MB / 0.9507 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.6006, allocations: 31.81 kB / 0.9507 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.6017, allocations: 433.3 kB / 0.9511 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003259/0.605, allocations: 1.404 MB / 0.9525 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001968/0.607, allocations: 0.7812 MB / 0.9533 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002152/0.6092, allocations: 1.855 MB / 0.9551 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007567/0.6099, allocations: 0.5965 MB / 0.9556 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.6116, allocations: 0.8677 MB / 0.9565 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.6126, allocations: 0.5407 MB / 0.957 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.01e-05/0.6127, allocations: 56 kB / 0.9571 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4363/1.049, allocations: 1.412 MB / 0.9585 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004704/1.05, allocations: 260.4 kB / 0.9587 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007646/1.05, allocations: 396.5 kB / 0.9591 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003231/1.054, allocations: 1.425 MB / 0.9605 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.054, allocations: 0.9688 kB / 0.9605 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.924e-06/1.054, allocations: 0 / 0.9605 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.516e-05/1.054, allocations: 0 / 0.9605 GB, free: 4.602 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.001918/1.056, allocations: 1.105 MB / 0.9616 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/1.056, allocations: 14.06 kB / 0.9616 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/1.057, allocations: 207 kB / 0.9618 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009979/1.058, allocations: 0.6106 MB / 0.9624 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/1.058, allocations: 34.66 kB / 0.9624 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.267e-05/1.058, allocations: 58.31 kB / 0.9625 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009529/1.059, allocations: 499.2 kB / 0.9629 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/1.059, allocations: 0 / 0.9629 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.883e-05/1.059, allocations: 20.75 kB / 0.9629 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/1.059, allocations: 16.33 kB / 0.963 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008206/1.06, allocations: 439.2 kB / 0.9634 GB, free: 3.629 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.002888/1.063, allocations: 2.01 MB / 0.9653 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006139/1.064, allocations: 343.3 kB / 0.9657 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003171/1.064, allocations: 210.7 kB / 0.9659 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003093/1.064, allocations: 197.5 kB / 0.9661 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/1.064, allocations: 38.75 kB / 0.9661 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.635e-06/1.064, allocations: 0.9688 kB / 0.9661 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.001227/1.066, allocations: 0.5434 MB / 0.9666 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/1.066, allocations: 55.22 kB / 0.9667 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005646/1.066, allocations: 0.5053 MB / 0.9672 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.479e-05/1.066, allocations: 36.92 kB / 0.9672 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/1.066, allocations: 306.6 kB / 0.9675 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.807e-05/1.067, allocations: 115.3 kB / 0.9676 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/1.067, allocations: 66.58 kB / 0.9677 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001499/1.067, allocations: 367.7 kB / 0.968 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/1.067, allocations: 142.4 kB / 0.9682 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/1.067, allocations: 210.7 kB / 0.9684 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005782/1.068, allocations: 333.2 kB / 0.9687 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.068, allocations: 1.203 kB / 0.9687 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007429/1.069, allocations: 434.9 kB / 0.9691 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/1.069, allocations: 6.719 kB / 0.9691 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/1.069, allocations: 8.75 kB / 0.9691 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/1.069, allocations: 3.562 kB / 0.9691 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/1.069, allocations: 72.73 kB / 0.9692 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/1.069, allocations: 2.094 kB / 0.9692 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005085/1.07, allocations: 37.84 kB / 0.9692 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/1.07, allocations: 14.72 kB / 0.9692 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004577/1.07, allocations: 308.9 kB / 0.9695 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003086/1.07, allocations: 212.3 kB / 0.9697 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005159/1.071, allocations: 338.2 kB / 0.9701 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.113e-06/1.071, allocations: 0 / 0.9701 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006661/1.072, allocations: 426.2 kB / 0.9705 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/1.072, allocations: 5.562 kB / 0.9705 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-06/1.072, allocations: 0.875 kB / 0.9705 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.182e-06/1.072, allocations: 9.297 kB / 0.9705 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/1.072, allocations: 69 kB / 0.9705 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/1.072, allocations: 2.094 kB / 0.9705 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004669/1.073, allocations: 32.75 kB / 0.9706 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/1.073, allocations: 16.22 kB / 0.9706 GB, free: 17.12 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.0001686/1.073, allocations: 199.1 kB / 0.9708 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-05/1.073, allocations: 64.45 kB / 0.9708 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007304/1.074, allocations: 429.8 kB / 0.9713 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/1.074, allocations: 3.25 kB / 0.9713 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.074, allocations: 0.6875 kB / 0.9713 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005812/1.074, allocations: 435.1 kB / 0.9717 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/1.076, allocations: 1.173 MB / 0.9728 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/1.076, allocations: 6.562 kB / 0.9728 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/1.076, allocations: 85.28 kB / 0.9729 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/1.076, allocations: 6.484 kB / 0.9729 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/1.076, allocations: 10.62 kB / 0.9729 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/1.076, allocations: 2.625 kB / 0.9729 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.076, allocations: 3.531 kB / 0.9729 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009612/1.077, allocations: 0.7004 MB / 0.9736 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/1.078, allocations: 180.7 kB / 0.9738 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/1.078, allocations: 9.25 kB / 0.9738 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004423/1.078, allocations: 26.52 kB / 0.9738 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/1.078, allocations: 27.61 kB / 0.9738 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/1.078, allocations: 19 kB / 0.9739 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003922/1.079, allocations: 362.4 kB / 0.9742 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.079, allocations: 2.094 kB / 0.9742 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009424/1.08, allocations: 324 kB / 0.9745 GB, free: 15.86 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.0004508/1.08, allocations: 202 kB / 0.9747 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009436/1.081, allocations: 0.5233 MB / 0.9752 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.081, allocations: 0.8438 kB / 0.9752 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002839/1.081, allocations: 181.1 kB / 0.9754 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/1.083, allocations: 356 kB / 0.9757 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/1.085, allocations: 1.294 MB / 0.977 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/1.085, allocations: 0.9303 MB / 0.9779 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/1.085, allocations: 53.19 kB / 0.978 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of SimCode: time 2.9e-07/1.085, allocations: 0.9375 kB / 0.978 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of Templates: time 0.014/1.099, allocations: 9.667 MB / 0.9874 GB, free: 13.78 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)