Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay") translateModel(IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001023/0.001023, allocations: 90.38 kB / 16.67 MB, free: 6.594 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.001174/0.001174, allocations: 182.4 kB / 17.58 MB, free: 6.188 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.377/1.377, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7185/0.7185, allocations: 115.5 MB / 408.2 MB, free: 7.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005461/0.0005461, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4174, allocations: 77.52 MB / 0.5606 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.1994/0.6169, allocations: 178.6 MB / 0.735 GB, free: 216 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008533/0.6255, allocations: 4.886 MB / 0.7398 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.6267, allocations: 27.75 kB / 0.7398 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.6281, allocations: 366.1 kB / 0.7401 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003972/0.6321, allocations: 1.334 MB / 0.7414 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.6344, allocations: 0.7036 MB / 0.7421 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003255/0.6377, allocations: 2.53 MB / 0.7446 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009752/0.6387, allocations: 497.7 kB / 0.7451 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/0.6406, allocations: 0.7623 MB / 0.7458 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.6421, allocations: 0.5485 MB / 0.7463 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.6423, allocations: 24 kB / 0.7464 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003186/0.6455, allocations: 1.609 MB / 0.7479 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004136/0.6459, allocations: 223.2 kB / 0.7482 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007062/0.6467, allocations: 383.8 kB / 0.7485 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.6484, allocations: 1.013 MB / 0.7495 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.6484, allocations: 0 / 0.7495 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.495e-06/0.6484, allocations: 4 kB / 0.7495 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.878e-05/0.6484, allocations: 0 / 0.7495 GB, free: 1.289 MB / 0.5762 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.001834/0.6503, allocations: 0.9656 MB / 0.7505 GB, free: 280 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.6503, allocations: 8.031 kB / 0.7505 GB, free: 272 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001496/0.6518, allocations: 210.8 kB / 0.7507 GB, free: 60 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2963/0.9482, allocations: 0.5798 MB / 0.7512 GB, free: 175.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.396e-05/0.9483, allocations: 36.81 kB / 0.7513 GB, free: 175.8 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.9484, allocations: 47.67 kB / 0.7513 GB, free: 175.8 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.9496, allocations: 0.4953 MB / 0.7518 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.9497, allocations: 4.594 kB / 0.7518 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.053e-05/0.9497, allocations: 16.75 kB / 0.7518 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.624e-05/0.9498, allocations: 17.19 kB / 0.7518 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009801/0.9508, allocations: 452.4 kB / 0.7523 GB, free: 175.5 MB / 0.5762 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.00295/0.9537, allocations: 2.008 MB / 0.7542 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006913/0.9544, allocations: 358.4 kB / 0.7546 GB, free: 174 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004/0.9548, allocations: 215.9 kB / 0.7548 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002973/0.9552, allocations: 193.7 kB / 0.755 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.9552, allocations: 37.62 kB / 0.755 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.365e-06/0.9552, allocations: 3.719 kB / 0.755 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001522/0.9567, allocations: 0.5573 MB / 0.7555 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.9568, allocations: 60.03 kB / 0.7556 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007129/0.9575, allocations: 0.5064 MB / 0.7561 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.695e-05/0.9576, allocations: 32.45 kB / 0.7561 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.9578, allocations: 305.1 kB / 0.7564 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.9579, allocations: 120.3 kB / 0.7565 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.958, allocations: 34.97 kB / 0.7566 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.9581, allocations: 373.4 kB / 0.7569 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/0.9584, allocations: 140 kB / 0.7571 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000385/0.9588, allocations: 213.6 kB / 0.7573 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000702/0.9595, allocations: 349 kB / 0.7576 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.9595, allocations: 2.094 kB / 0.7576 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009039/0.9604, allocations: 443.7 kB / 0.758 GB, free: 172 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.412e-05/0.9605, allocations: 119.9 kB / 0.7581 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.9606, allocations: 2.047 kB / 0.7581 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/0.9606, allocations: 2.25 kB / 0.7581 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/0.961, allocations: 72.78 kB / 0.7582 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.961, allocations: 3.328 kB / 0.7582 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006532/0.9617, allocations: 68.48 kB / 0.7583 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/0.9617, allocations: 12.38 kB / 0.7583 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.564e-06/0.9617, allocations: 2.75 kB / 0.7583 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006781/0.9624, allocations: 364.3 kB / 0.7586 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.9624, allocations: 2.312 kB / 0.7586 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.139e-06/0.9624, allocations: 1.344 kB / 0.7586 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/0.9627, allocations: 73.91 kB / 0.7587 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.9628, allocations: 3.844 kB / 0.7587 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005619/0.9633, allocations: 73.19 kB / 0.7588 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.9634, allocations: 11.05 kB / 0.7588 GB, free: 171.6 MB / 0.5762 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.0003576/0.9637, allocations: 291.6 kB / 0.7591 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.726e-05/0.9638, allocations: 59.72 kB / 0.7591 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008419/0.9647, allocations: 429.6 kB / 0.7595 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.9647, allocations: 3.422 kB / 0.7595 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.9647, allocations: 8.938 kB / 0.7595 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000641/0.9654, allocations: 450.8 kB / 0.76 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/0.9673, allocations: 1.185 MB / 0.7611 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.9673, allocations: 1.094 kB / 0.7611 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004323/0.9678, allocations: 86.5 kB / 0.7612 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.9678, allocations: 3.688 kB / 0.7612 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.9678, allocations: 10.73 kB / 0.7612 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.9678, allocations: 2.125 kB / 0.7612 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.9678, allocations: 7.109 kB / 0.7612 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.969, allocations: 0.7207 MB / 0.7619 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000243/0.9692, allocations: 181.6 kB / 0.7621 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.177e-05/0.9693, allocations: 7.656 kB / 0.7621 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000549/0.9698, allocations: 54.2 kB / 0.7622 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.681e-05/0.9699, allocations: 25.33 kB / 0.7622 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-05/0.97, allocations: 19.44 kB / 0.7622 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004784/0.9705, allocations: 363.9 kB / 0.7626 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9705, allocations: 0 / 0.7626 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009636/0.9714, allocations: 323.1 kB / 0.7629 GB, free: 169.5 MB / 0.5762 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.000449/0.9719, allocations: 199.1 kB / 0.7631 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.973, allocations: 0.5266 MB / 0.7636 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.973, allocations: 4.438 kB / 0.7636 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003375/0.9733, allocations: 183.1 kB / 0.7638 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/0.9755, allocations: 363.3 kB / 0.7641 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.9777, allocations: 1.611 MB / 0.7657 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.9782, allocations: 0.9318 MB / 0.7666 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.9784, allocations: 48.89 kB / 0.7666 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of SimCode: time 7.82e-07/0.9784, allocations: 5 kB / 0.7666 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.02176/1, allocations: 9.684 MB / 0.7761 GB, free: 164.9 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.sim & ./IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1)