Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.743/1.743, allocations: 292.3 MB / 308.1 MB, free: 4.289 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.001226/0.001226, allocations: 188.5 kB / 376.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.1 MB / 0.6354 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009811/0.000981, allocations: 97.95 kB / 0.7479 GB, free: 61.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001246, allocations: 59.86 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2717, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.7786/1.05, allocations: 181 MB / 1.159 GB, free: 2.648 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0089/1.059, allocations: 4.902 MB / 1.164 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/1.06, allocations: 27.5 kB / 1.164 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/1.061, allocations: 371.2 kB / 1.164 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.003606/1.065, allocations: 1.326 MB / 1.165 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00207/1.067, allocations: 0.6961 MB / 1.166 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002741/1.07, allocations: 2.522 MB / 1.169 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006478/1.071, allocations: 0.509 MB / 1.169 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00164/1.072, allocations: 0.7721 MB / 1.17 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/1.074, allocations: 0.5724 MB / 1.17 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.51e-05/1.074, allocations: 31.59 kB / 1.17 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003274/1.077, allocations: 1.618 MB / 1.172 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002961/1.077, allocations: 238.6 kB / 1.172 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0004746/1.078, allocations: 368.7 kB / 1.173 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002251/1.08, allocations: 1.463 MB / 1.174 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.08, allocations: 0 / 1.174 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.192e-06/1.08, allocations: 0 / 1.174 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.042e-05/1.08, allocations: 2.812 kB / 1.174 GB, free: 10.92 MB / 0.7761 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.001859/1.082, allocations: 1.1 MB / 1.175 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/1.082, allocations: 9.156 kB / 1.175 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/1.083, allocations: 208.7 kB / 1.175 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009937/1.084, allocations: 0.583 MB / 1.176 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.36e-05/1.084, allocations: 38.59 kB / 1.176 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.202e-05/1.084, allocations: 47.69 kB / 1.176 GB, free: 9.645 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008396/1.085, allocations: 493.5 kB / 1.176 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/1.085, allocations: 0.5625 kB / 1.176 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.763e-05/1.085, allocations: 19.22 kB / 1.176 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/1.085, allocations: 16.41 kB / 1.176 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007199/1.086, allocations: 450.4 kB / 1.177 GB, free: 9.293 MB / 0.7761 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.002732/1.089, allocations: 1.99 MB / 1.179 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005538/1.089, allocations: 357.3 kB / 1.179 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003174/1.09, allocations: 206.6 kB / 1.179 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003258/1.09, allocations: 190.8 kB / 1.18 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/1.09, allocations: 37.81 kB / 1.18 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=33): time 1.673e-06/1.09, allocations: 0 / 1.18 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33): time 0.001197/1.091, allocations: 0.5491 MB / 1.18 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/1.091, allocations: 58.22 kB / 1.18 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000523/1.092, allocations: 0.4977 MB / 1.181 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.248e-05/1.092, allocations: 36.77 kB / 1.181 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/1.092, allocations: 301.2 kB / 1.181 GB, free: 6.648 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/1.092, allocations: 117.7 kB / 1.181 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/1.092, allocations: 73.22 kB / 1.181 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001609/1.093, allocations: 369.4 kB / 1.181 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/1.093, allocations: 140.8 kB / 1.182 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/1.093, allocations: 216.7 kB / 1.182 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005214/1.094, allocations: 339.2 kB / 1.182 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.094, allocations: 1.875 kB / 1.182 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006942/1.094, allocations: 434.9 kB / 1.183 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/1.094, allocations: 3.156 kB / 1.183 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/1.094, allocations: 4.422 kB / 1.183 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/1.094, allocations: 3.188 kB / 1.183 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003453/1.095, allocations: 71.39 kB / 1.183 GB, free: 5.645 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/1.095, allocations: 7.094 kB / 1.183 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000555/1.095, allocations: 60.27 kB / 1.183 GB, free: 5.617 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/1.095, allocations: 13.56 kB / 1.183 GB, free: 5.613 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004253/1.096, allocations: 306.2 kB / 1.183 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003188/1.096, allocations: 212.9 kB / 1.183 GB, free: 5.324 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005118/1.097, allocations: 331.7 kB / 1.184 GB, free: 5.172 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.152e-06/1.097, allocations: 7.156 kB / 1.184 GB, free: 5.168 MB / 0.7761 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006535/1.097, allocations: 422 kB / 1.184 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.737e-06/1.097, allocations: 6.469 kB / 1.184 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-06/1.097, allocations: 0 / 1.184 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.028e-06/1.097, allocations: 3.062 kB / 1.184 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/1.098, allocations: 74.45 kB / 1.184 GB, free: 4.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/1.098, allocations: 0.5625 kB / 1.184 GB, free: 4.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005066/1.098, allocations: 63.41 kB / 1.184 GB, free: 4.953 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/1.098, allocations: 13.19 kB / 1.184 GB, free: 4.949 MB / 0.7761 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.0001253/1.098, allocations: 202 kB / 1.184 GB, free: 4.754 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.831e-05/1.099, allocations: 60.25 kB / 1.184 GB, free: 4.723 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007295/1.099, allocations: 424.5 kB / 1.185 GB, free: 4.539 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/1.099, allocations: 6.375 kB / 1.185 GB, free: 4.539 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/1.099, allocations: 4.562 kB / 1.185 GB, free: 4.535 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005815/1.1, allocations: 430.9 kB / 1.185 GB, free: 4.277 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/1.102, allocations: 1.17 MB / 1.186 GB, free: 3.609 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/1.102, allocations: 7.094 kB / 1.186 GB, free: 3.605 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003896/1.102, allocations: 89.11 kB / 1.186 GB, free: 3.594 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/1.102, allocations: 3.062 kB / 1.186 GB, free: 3.594 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/1.102, allocations: 13.53 kB / 1.186 GB, free: 3.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/1.102, allocations: 3.844 kB / 1.186 GB, free: 3.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/1.102, allocations: 0 / 1.186 GB, free: 3.59 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005359/1.107, allocations: 3.762 MB / 1.19 GB, free: 1.211 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/1.108, allocations: 177.1 kB / 1.19 GB, free: 1.066 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.845e-05/1.108, allocations: 7.906 kB / 1.19 GB, free: 1.062 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004806/1.108, allocations: 51.05 kB / 1.19 GB, free: 1.047 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/1.108, allocations: 26.73 kB / 1.19 GB, free: 1.039 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/1.108, allocations: 17.95 kB / 1.19 GB, free: 1.035 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004825/1.109, allocations: 357.7 kB / 1.191 GB, free: 0.875 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/1.109, allocations: 0 / 1.191 GB, free: 0.875 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001761/1.111, allocations: 0.5227 MB / 1.191 GB, free: 0.8008 MB / 0.7761 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 (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.0004702/1.111, allocations: 205.2 kB / 1.191 GB, free: 0.6719 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00107/1.112, allocations: 0.5129 MB / 1.192 GB, free: 0.5078 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.112, allocations: 1.156 kB / 1.192 GB, free: 0.5078 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003304/1.113, allocations: 178 kB / 1.192 GB, free: 464 kB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/1.114, allocations: 361.6 kB / 1.192 GB, free: 384 kB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/1.117, allocations: 1.737 MB / 1.194 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005067/1.117, allocations: 0.9408 MB / 1.195 GB, free: 14.47 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000689/1.118, allocations: 193.4 kB / 1.195 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/1.118, allocations: 51.83 kB / 1.195 GB, free: 14.42 MB / 0.7917 GB Notification: Performance of SimCode: time 7.11e-07/1.118, allocations: 0 / 1.195 GB, free: 14.42 MB / 0.7917 GB Notification: Performance of Templates: time 0.02681/1.145, allocations: 12.51 MB / 1.208 GB, free: 13.57 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_8_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_8_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)