Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001532/0.001531, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002095/0.002095, allocations: 191.3 kB / 16.25 MB, free: 6.633 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.433/1.433, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.734/2.734, allocations: 472.6 MB / 0.7448 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 65.16 kB / 0.9115 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3447, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2077/0.5525, allocations: 180.9 MB / 1.244 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008607/0.5611, allocations: 4.836 MB / 1.249 GB, free: 496 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.5626, allocations: 27.81 kB / 1.249 GB, free: 468 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.5641, allocations: 390 kB / 1.249 GB, free: 76 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.6451/1.209, allocations: 1.311 MB / 1.251 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002099/1.211, allocations: 0.7079 MB / 1.251 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003104/1.214, allocations: 1.849 MB / 1.253 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009649/1.215, allocations: 0.5757 MB / 1.254 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001794/1.217, allocations: 0.8729 MB / 1.255 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/1.219, allocations: 0.5748 MB / 1.255 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001299/1.219, allocations: 59.06 kB / 1.255 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002874/1.222, allocations: 1.472 MB / 1.257 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002706/1.222, allocations: 261.4 kB / 1.257 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004575/1.222, allocations: 403.6 kB / 1.257 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002179/1.225, allocations: 1.489 MB / 1.259 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.225, allocations: 0 / 1.259 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.114e-06/1.225, allocations: 0.7812 kB / 1.259 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.098e-05/1.225, allocations: 1.203 kB / 1.259 GB, free: 5.648 MB / 0.9981 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.001844/1.226, allocations: 1.103 MB / 1.26 GB, free: 20.98 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/1.226, allocations: 11.47 kB / 1.26 GB, free: 20.98 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/1.228, allocations: 210.4 kB / 1.26 GB, free: 20.95 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008519/1.229, allocations: 0.5814 MB / 1.261 GB, free: 20.66 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/1.229, allocations: 37.06 kB / 1.261 GB, free: 20.66 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.499e-05/1.229, allocations: 49.72 kB / 1.261 GB, free: 20.66 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009002/1.23, allocations: 499.3 kB / 1.261 GB, free: 20.62 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/1.23, allocations: 1.641 kB / 1.261 GB, free: 20.62 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.833e-05/1.23, allocations: 19.44 kB / 1.261 GB, free: 20.62 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/1.23, allocations: 22.28 kB / 1.261 GB, free: 20.62 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007852/1.231, allocations: 435.6 kB / 1.262 GB, free: 20.62 MB / 1.014 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.002833/1.233, allocations: 2.006 MB / 1.264 GB, free: 19.64 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006025/1.234, allocations: 346.9 kB / 1.264 GB, free: 19.62 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/1.234, allocations: 211.8 kB / 1.264 GB, free: 19.61 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003007/1.235, allocations: 191.6 kB / 1.264 GB, free: 19.42 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/1.235, allocations: 35.69 kB / 1.264 GB, free: 19.38 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.876e-06/1.235, allocations: 4.156 kB / 1.264 GB, free: 19.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.001225/1.236, allocations: 0.5426 MB / 1.265 GB, free: 19.31 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/1.236, allocations: 61.08 kB / 1.265 GB, free: 19.25 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006944/1.237, allocations: 0.5073 MB / 1.265 GB, free: 19.12 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/1.237, allocations: 35.08 kB / 1.265 GB, free: 19.09 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/1.237, allocations: 307.5 kB / 1.266 GB, free: 18.96 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/1.237, allocations: 114.9 kB / 1.266 GB, free: 18.88 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/1.237, allocations: 68.88 kB / 1.266 GB, free: 18.87 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002488/1.238, allocations: 365.6 kB / 1.266 GB, free: 18.55 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/1.238, allocations: 142.9 kB / 1.266 GB, free: 18.55 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000419/1.238, allocations: 224.3 kB / 1.267 GB, free: 18.48 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006838/1.239, allocations: 334.5 kB / 1.267 GB, free: 18.45 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.239, allocations: 0 / 1.267 GB, free: 18.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009435/1.24, allocations: 434.3 kB / 1.267 GB, free: 18.38 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/1.24, allocations: 6.281 kB / 1.267 GB, free: 18.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/1.24, allocations: 8.328 kB / 1.267 GB, free: 18.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/1.24, allocations: 2.969 kB / 1.267 GB, free: 18.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/1.24, allocations: 68.42 kB / 1.267 GB, free: 18.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/1.24, allocations: 5.062 kB / 1.267 GB, free: 18.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006744/1.241, allocations: 67.45 kB / 1.268 GB, free: 18.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.981e-05/1.241, allocations: 15.48 kB / 1.268 GB, free: 18.36 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000523/1.242, allocations: 310.4 kB / 1.268 GB, free: 18.28 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002817/1.242, allocations: 204.7 kB / 1.268 GB, free: 18.21 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005239/1.243, allocations: 328.1 kB / 1.268 GB, free: 18.18 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/1.243, allocations: 0.9375 kB / 1.268 GB, free: 18.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007975/1.243, allocations: 432.6 kB / 1.269 GB, free: 18.11 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/1.243, allocations: 5.797 kB / 1.269 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/1.243, allocations: 2.281 kB / 1.269 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.717e-06/1.243, allocations: 7.156 kB / 1.269 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/1.244, allocations: 68.94 kB / 1.269 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/1.244, allocations: 6.547 kB / 1.269 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006167/1.244, allocations: 60.56 kB / 1.269 GB, free: 18.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/1.244, allocations: 15.2 kB / 1.269 GB, free: 18.09 MB / 1.014 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.0001917/1.245, allocations: 197 kB / 1.269 GB, free: 17.91 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/1.245, allocations: 61.19 kB / 1.269 GB, free: 17.88 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008957/1.246, allocations: 420.8 kB / 1.27 GB, free: 17.83 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/1.246, allocations: 4.578 kB / 1.27 GB, free: 17.83 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.246, allocations: 2.75 kB / 1.27 GB, free: 17.83 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006349/1.246, allocations: 439.2 kB / 1.27 GB, free: 17.66 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/1.248, allocations: 1.181 MB / 1.271 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.248, allocations: 2.906 kB / 1.271 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000449/1.249, allocations: 87.52 kB / 1.271 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/1.249, allocations: 3.984 kB / 1.271 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/1.249, allocations: 8.328 kB / 1.271 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/1.249, allocations: 4.266 kB / 1.271 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.249, allocations: 2.625 kB / 1.271 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/1.25, allocations: 0.6987 MB / 1.272 GB, free: 17.09 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003229/1.25, allocations: 177.6 kB / 1.272 GB, free: 16.96 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.583e-05/1.251, allocations: 12.33 kB / 1.272 GB, free: 16.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005376/1.251, allocations: 46.62 kB / 1.272 GB, free: 16.96 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.901e-05/1.251, allocations: 31.03 kB / 1.272 GB, free: 16.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/1.251, allocations: 17.17 kB / 1.272 GB, free: 16.96 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000483/1.252, allocations: 362.5 kB / 1.273 GB, free: 16.87 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.252, allocations: 1.562 kB / 1.273 GB, free: 16.87 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001084/1.253, allocations: 329.4 kB / 1.273 GB, free: 16.82 MB / 1.014 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.0004944/1.253, allocations: 201.8 kB / 1.273 GB, free: 16.72 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001351/1.255, allocations: 0.5521 MB / 1.274 GB, free: 16.71 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.255, allocations: 1.969 kB / 1.274 GB, free: 16.71 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000325/1.255, allocations: 177.4 kB / 1.274 GB, free: 16.71 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/1.257, allocations: 347.4 kB / 1.274 GB, free: 16.68 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/1.259, allocations: 1.486 MB / 1.276 GB, free: 15.94 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006279/1.259, allocations: 0.9324 MB / 1.276 GB, free: 15.24 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006858/1.26, allocations: 179.5 kB / 1.277 GB, free: 15.22 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/1.26, allocations: 48.03 kB / 1.277 GB, free: 15.21 MB / 1.014 GB Notification: Performance of SimCode: time 2.51e-07/1.26, allocations: 0 / 1.277 GB, free: 15.21 MB / 1.014 GB Notification: Performance of Templates: time 0.0231/1.283, allocations: 11.58 MB / 1.288 GB, free: 14.6 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)