Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.761/2.761, allocations: 287.5 MB / 302.4 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001383/0.001383, allocations: 186.2 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.174/2.174, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009333/0.0009335, allocations: 94.31 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004994/0.0004996, allocations: 12.89 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.231, allocations: 115.3 MB / 0.9783 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.9467/1.178, allocations: 166.7 MB / 1.141 GB, free: 13.14 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01059/1.188, allocations: 4.534 MB / 1.146 GB, free: 11.79 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001515/1.19, allocations: 24.47 kB / 1.146 GB, free: 11.77 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001649/1.192, allocations: 290.3 kB / 1.146 GB, free: 11.65 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00499/1.197, allocations: 1.024 MB / 1.147 GB, free: 11.21 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003135/1.2, allocations: 0.606 MB / 1.147 GB, free: 11.09 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004347/1.204, allocations: 2.124 MB / 1.149 GB, free: 10.73 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/1.206, allocations: 450.3 kB / 1.15 GB, free: 10.59 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002816/1.208, allocations: 0.7082 MB / 1.151 GB, free: 10.28 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001767/1.21, allocations: 0.5221 MB / 1.151 GB, free: 10.04 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002443/1.211, allocations: 25.59 kB / 1.151 GB, free: 10.04 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003898/1.214, allocations: 0.8741 MB / 1.152 GB, free: 9.727 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007875/1.215, allocations: 219.7 kB / 1.152 GB, free: 9.625 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006081/1.216, allocations: 168.6 kB / 1.152 GB, free: 9.57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003167/1.219, allocations: 0.9516 MB / 1.153 GB, free: 9.066 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/1.219, allocations: 1 kB / 1.153 GB, free: 9.066 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.566e-06/1.219, allocations: 4 kB / 1.153 GB, free: 9.062 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.741e-05/1.219, allocations: 0 / 1.153 GB, free: 9.062 MB / 0.698 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.003415/1.223, allocations: 0.9672 MB / 1.154 GB, free: 8.328 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/1.223, allocations: 12.97 kB / 1.154 GB, free: 8.324 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002335/1.225, allocations: 208.5 kB / 1.154 GB, free: 8.238 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/1.227, allocations: 0.5595 MB / 1.155 GB, free: 7.859 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.9e-05/1.227, allocations: 40.91 kB / 1.155 GB, free: 7.855 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/1.227, allocations: 47.22 kB / 1.155 GB, free: 7.855 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/1.229, allocations: 498.2 kB / 1.156 GB, free: 7.723 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/1.229, allocations: 0 / 1.156 GB, free: 7.723 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-05/1.229, allocations: 19.16 kB / 1.156 GB, free: 7.723 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.415e-05/1.229, allocations: 20.09 kB / 1.156 GB, free: 7.715 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/1.231, allocations: 444.4 kB / 1.156 GB, free: 7.637 MB / 0.698 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.004828/1.236, allocations: 2.004 MB / 1.158 GB, free: 6.273 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009296/1.236, allocations: 354.7 kB / 1.158 GB, free: 6.199 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000575/1.237, allocations: 209.4 kB / 1.159 GB, free: 6.164 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004416/1.238, allocations: 196.2 kB / 1.159 GB, free: 5.965 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/1.238, allocations: 44.02 kB / 1.159 GB, free: 5.918 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 3.206e-06/1.238, allocations: 0 / 1.159 GB, free: 5.918 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.00216/1.24, allocations: 0.5569 MB / 1.159 GB, free: 5.648 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/1.24, allocations: 55 kB / 1.159 GB, free: 5.586 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/1.241, allocations: 0.4981 MB / 1.16 GB, free: 5.285 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.234e-05/1.241, allocations: 33.02 kB / 1.16 GB, free: 5.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003426/1.241, allocations: 307.2 kB / 1.16 GB, free: 4.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000188/1.242, allocations: 113.6 kB / 1.16 GB, free: 4.883 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/1.242, allocations: 9.031 kB / 1.16 GB, free: 4.875 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002279/1.242, allocations: 372.7 kB / 1.161 GB, free: 4.516 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004935/1.242, allocations: 130.5 kB / 1.161 GB, free: 4.457 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005822/1.243, allocations: 227.1 kB / 1.161 GB, free: 4.297 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005506/1.244, allocations: 164 kB / 1.161 GB, free: 4.219 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.244, allocations: 4 kB / 1.161 GB, free: 4.215 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001416/1.245, allocations: 430.4 kB / 1.162 GB, free: 3.996 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/1.245, allocations: 118.5 kB / 1.162 GB, free: 3.871 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/1.245, allocations: 6.156 kB / 1.162 GB, free: 3.867 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/1.245, allocations: 2.031 kB / 1.162 GB, free: 3.867 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006594/1.246, allocations: 76.89 kB / 1.162 GB, free: 3.848 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/1.246, allocations: 2.75 kB / 1.162 GB, free: 3.848 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/1.247, allocations: 58.28 kB / 1.162 GB, free: 3.816 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.448e-05/1.247, allocations: 18.45 kB / 1.162 GB, free: 3.809 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/1.247, allocations: 3.219 kB / 1.162 GB, free: 3.809 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001173/1.248, allocations: 351.7 kB / 1.162 GB, free: 3.645 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/1.248, allocations: 1.25 kB / 1.162 GB, free: 3.645 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/1.248, allocations: 2.562 kB / 1.162 GB, free: 3.645 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006759/1.249, allocations: 76.72 kB / 1.162 GB, free: 3.625 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/1.249, allocations: 2.312 kB / 1.162 GB, free: 3.625 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/1.25, allocations: 67.84 kB / 1.162 GB, free: 3.586 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.413e-05/1.25, allocations: 13.34 kB / 1.162 GB, free: 3.582 MB / 0.698 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.0005951/1.251, allocations: 289 kB / 1.163 GB, free: 3.332 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/1.251, allocations: 60.88 kB / 1.163 GB, free: 3.301 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/1.253, allocations: 426 kB / 1.163 GB, free: 3.059 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/1.253, allocations: 2.969 kB / 1.163 GB, free: 3.059 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.253, allocations: 1.25 kB / 1.163 GB, free: 3.059 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001104/1.254, allocations: 447.1 kB / 1.163 GB, free: 2.754 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003309/1.257, allocations: 1.185 MB / 1.165 GB, free: 1.875 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/1.257, allocations: 2.125 kB / 1.165 GB, free: 1.875 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000825/1.258, allocations: 88.12 kB / 1.165 GB, free: 1.855 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.515e-05/1.258, allocations: 8.297 kB / 1.165 GB, free: 1.852 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.514e-05/1.258, allocations: 11.53 kB / 1.165 GB, free: 1.844 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/1.258, allocations: 7.344 kB / 1.165 GB, free: 1.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/1.258, allocations: 6.422 kB / 1.165 GB, free: 1.836 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/1.26, allocations: 0.7381 MB / 1.165 GB, free: 1.359 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005412/1.261, allocations: 177.2 kB / 1.166 GB, free: 1.199 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/1.261, allocations: 19.38 kB / 1.166 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000919/1.262, allocations: 55.11 kB / 1.166 GB, free: 1.156 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/1.262, allocations: 26.12 kB / 1.166 GB, free: 1.141 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.934e-05/1.262, allocations: 14.72 kB / 1.166 GB, free: 1.137 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008253/1.263, allocations: 355.3 kB / 1.166 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.91e-07/1.263, allocations: 0 / 1.166 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001491/1.264, allocations: 317.3 kB / 1.166 GB, free: 0.8711 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * 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.0006444/1.265, allocations: 189.8 kB / 1.167 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00177/1.267, allocations: 0.5213 MB / 1.167 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/1.267, allocations: 5.031 kB / 1.167 GB, free: 0.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005618/1.267, allocations: 194.2 kB / 1.167 GB, free: 420 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003677/1.271, allocations: 371.9 kB / 1.168 GB, free: 228 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/1.275, allocations: 1.537 MB / 1.169 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007259/1.275, allocations: 0.9374 MB / 1.17 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001264/1.277, allocations: 185.8 kB / 1.17 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/1.277, allocations: 49.89 kB / 1.17 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of SimCode: time 1.282e-06/1.277, allocations: 0 / 1.17 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of Templates: time 0.03246/1.309, allocations: 10.96 MB / 1.181 GB, free: 8.758 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)