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.00131/0.00131, allocations: 117.4 kB / 17.09 MB, free: 5.961 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.001365/0.001365, allocations: 193.9 kB / 18.02 MB, free: 5.043 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.387/1.387, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7809/0.7809, allocations: 115.3 MB / 407.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.98 kB / 0.5583 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1423, allocations: 76.19 MB / 0.6327 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.5591/0.7014, allocations: 183.2 MB / 0.8116 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007865/0.7094, allocations: 4.872 MB / 0.8164 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.7107, allocations: 34.09 kB / 0.8164 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.7122, allocations: 430.8 kB / 0.8168 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004295/0.7166, allocations: 1.419 MB / 0.8182 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002486/0.7191, allocations: 0.7757 MB / 0.819 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002882/0.722, allocations: 1.847 MB / 0.8208 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.723, allocations: 0.6028 MB / 0.8214 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002144/0.7252, allocations: 0.8924 MB / 0.8222 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.7267, allocations: 0.5392 MB / 0.8228 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000195/0.7269, allocations: 58.03 kB / 0.8228 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003103/0.73, allocations: 1.409 MB / 0.8242 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004411/0.7305, allocations: 263.6 kB / 0.8245 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007854/0.7313, allocations: 401.7 kB / 0.8248 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003217/0.7345, allocations: 1.42 MB / 0.8262 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.7345, allocations: 0 / 0.8262 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.774e-06/0.7345, allocations: 2.656 kB / 0.8262 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.253e-05/0.7346, allocations: 0 / 0.8262 GB, free: 5.531 MB / 0.5919 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.002262/0.7368, allocations: 1.101 MB / 0.8273 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.7369, allocations: 11.44 kB / 0.8273 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/0.7384, allocations: 210.1 kB / 0.8275 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.7395, allocations: 0.6223 MB / 0.8281 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.7396, allocations: 37.19 kB / 0.8282 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.38e-05/0.7397, allocations: 41.91 kB / 0.8282 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008841/0.7405, allocations: 0.4901 MB / 0.8287 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.7406, allocations: 3.938 kB / 0.8287 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.842e-05/0.7406, allocations: 18.47 kB / 0.8287 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.892e-05/0.7407, allocations: 26.75 kB / 0.8287 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007373/0.7414, allocations: 433.9 kB / 0.8291 GB, free: 3.52 MB / 0.5919 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.002811/0.7442, allocations: 2.009 MB / 0.8311 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006198/0.7449, allocations: 343.1 kB / 0.8314 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.7452, allocations: 209.2 kB / 0.8316 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003029/0.7455, allocations: 195.3 kB / 0.8318 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.7456, allocations: 41.61 kB / 0.8319 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 3.436e-06/0.7456, allocations: 0 / 0.8319 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001261/0.7468, allocations: 0.5434 MB / 0.8324 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.7469, allocations: 56.28 kB / 0.8324 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005572/0.7475, allocations: 0.5098 MB / 0.8329 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.65e-05/0.7475, allocations: 35.83 kB / 0.833 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.7477, allocations: 303.4 kB / 0.8333 GB, free: 340 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.7479, allocations: 115.4 kB / 0.8334 GB, free: 240 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.748, allocations: 65.45 kB / 0.8334 GB, free: 196 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.7482, allocations: 370.2 kB / 0.8338 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/0.7484, allocations: 146 kB / 0.8339 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003077/0.7487, allocations: 213.6 kB / 0.8341 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005459/0.7493, allocations: 337.1 kB / 0.8344 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.7493, allocations: 1.812 kB / 0.8344 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007414/0.7501, allocations: 437.8 kB / 0.8349 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.7501, allocations: 4.906 kB / 0.8349 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.7501, allocations: 2.781 kB / 0.8349 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.7501, allocations: 2.094 kB / 0.8349 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.7505, allocations: 67.56 kB / 0.8349 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.7505, allocations: 6.281 kB / 0.8349 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004893/0.751, allocations: 44.19 kB / 0.835 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.751, allocations: 7.969 kB / 0.835 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004289/0.7514, allocations: 308 kB / 0.8353 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003044/0.7518, allocations: 211.4 kB / 0.8355 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005386/0.7523, allocations: 340.5 kB / 0.8358 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.463e-06/0.7523, allocations: 0 / 0.8358 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006923/0.753, allocations: 417.4 kB / 0.8362 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.753, allocations: 4.812 kB / 0.8362 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.753, allocations: 3.938 kB / 0.8362 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.727e-06/0.7531, allocations: 7.031 kB / 0.8362 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.7534, allocations: 71.09 kB / 0.8363 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.7534, allocations: 6.328 kB / 0.8363 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004792/0.7539, allocations: 32.45 kB / 0.8363 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.7539, allocations: 13.81 kB / 0.8363 GB, free: 14.34 MB / 0.6075 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.0001498/0.7541, allocations: 200.7 kB / 0.8365 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.7542, allocations: 60.97 kB / 0.8366 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007729/0.755, allocations: 429.3 kB / 0.837 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.755, allocations: 4.938 kB / 0.837 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.755, allocations: 7.875 kB / 0.837 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005963/0.7556, allocations: 440.7 kB / 0.8374 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.7574, allocations: 1.172 MB / 0.8386 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.7574, allocations: 2.844 kB / 0.8386 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004266/0.7578, allocations: 85.58 kB / 0.8387 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-06/0.7579, allocations: 6.844 kB / 0.8387 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.7579, allocations: 8.906 kB / 0.8387 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.7579, allocations: 2.625 kB / 0.8387 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.7579, allocations: 3.469 kB / 0.8387 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.759, allocations: 0.7075 MB / 0.8394 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/0.7593, allocations: 176.8 kB / 0.8395 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.538e-05/0.7593, allocations: 6.75 kB / 0.8396 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004645/0.7598, allocations: 32.25 kB / 0.8396 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.581e-05/0.7599, allocations: 18.03 kB / 0.8396 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.7599, allocations: 13.97 kB / 0.8396 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004867/0.7604, allocations: 366.1 kB / 0.84 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7604, allocations: 0 / 0.84 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001067/0.7615, allocations: 322.7 kB / 0.8403 GB, free: 11.73 MB / 0.6075 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.0006302/0.7621, allocations: 200.6 kB / 0.8405 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001182/0.7633, allocations: 0.5222 MB / 0.841 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.7633, allocations: 0 / 0.841 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003198/0.7637, allocations: 178.4 kB / 0.8411 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/0.7653, allocations: 358.6 kB / 0.8415 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.7675, allocations: 1.292 MB / 0.8427 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005347/0.768, allocations: 0.9303 MB / 0.8437 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.7682, allocations: 48.88 kB / 0.8437 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of SimCode: time 9.92e-07/0.7682, allocations: 3.938 kB / 0.8437 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of Templates: time 0.01573/0.7839, allocations: 9.721 MB / 0.8532 GB, free: 15.74 MB / 0.6231 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)