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.001295/0.001295, allocations: 115.1 kB / 17.08 MB, free: 5.988 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.001248/0.001248, allocations: 196.7 kB / 18.02 MB, free: 5.062 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.385/1.385, 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.7425/0.7425, allocations: 115.3 MB / 407.2 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 62.98 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1304, allocations: 76.18 MB / 0.6327 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.533/0.6635, allocations: 183.2 MB / 0.8116 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007128/0.6706, allocations: 4.858 MB / 0.8164 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.672, allocations: 31.62 kB / 0.8164 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.6733, allocations: 444.1 kB / 0.8168 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003804/0.6772, allocations: 1.404 MB / 0.8182 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002162/0.6794, allocations: 0.7937 MB / 0.819 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002556/0.6819, allocations: 1.846 MB / 0.8208 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008977/0.6828, allocations: 0.5993 MB / 0.8214 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00183/0.6847, allocations: 0.8763 MB / 0.8222 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/0.6859, allocations: 0.5364 MB / 0.8228 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.6861, allocations: 60.44 kB / 0.8228 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002868/0.689, allocations: 1.409 MB / 0.8242 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000377/0.6894, allocations: 267.8 kB / 0.8244 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006866/0.6901, allocations: 397.4 kB / 0.8248 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003266/0.6933, allocations: 1.417 MB / 0.8262 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6934, allocations: 0 / 0.8262 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6934, allocations: 0 / 0.8262 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.687e-05/0.6934, allocations: 4 kB / 0.8262 GB, free: 5.672 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.002354/0.6958, allocations: 1.102 MB / 0.8273 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.6958, allocations: 9.469 kB / 0.8273 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/0.6973, allocations: 206.9 kB / 0.8275 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.6985, allocations: 0.6219 MB / 0.8281 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.81e-05/0.6985, allocations: 40.98 kB / 0.8281 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.831e-05/0.6987, allocations: 52.25 kB / 0.8282 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009555/0.6996, allocations: 0.4897 MB / 0.8287 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.6996, allocations: 0 / 0.8287 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.964e-05/0.6997, allocations: 17.62 kB / 0.8287 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.801e-05/0.6997, allocations: 15.94 kB / 0.8287 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007731/0.7005, allocations: 440.8 kB / 0.8291 GB, free: 3.664 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.002783/0.7033, allocations: 1.997 MB / 0.8311 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006177/0.704, allocations: 353.5 kB / 0.8314 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.7043, allocations: 215.5 kB / 0.8316 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002966/0.7046, allocations: 199.4 kB / 0.8318 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.7047, allocations: 41.47 kB / 0.8318 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.465e-06/0.7047, allocations: 0 / 0.8318 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001234/0.7059, allocations: 0.5376 MB / 0.8324 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.706, allocations: 57.91 kB / 0.8324 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00059/0.7066, allocations: 0.5095 MB / 0.8329 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.614e-05/0.7066, allocations: 32.8 kB / 0.8329 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.7068, allocations: 299.4 kB / 0.8332 GB, free: 484 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.7069, allocations: 120.6 kB / 0.8334 GB, free: 380 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.7071, allocations: 67.69 kB / 0.8334 GB, free: 336 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.7072, allocations: 367.8 kB / 0.8338 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/0.7075, allocations: 141.6 kB / 0.8339 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003166/0.7079, allocations: 219.8 kB / 0.8341 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000544/0.7084, allocations: 346.7 kB / 0.8344 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.7084, allocations: 0 / 0.8344 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007941/0.7092, allocations: 424.8 kB / 0.8348 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.7093, allocations: 5.375 kB / 0.8349 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.7093, allocations: 6.531 kB / 0.8349 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.7093, allocations: 2.406 kB / 0.8349 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/0.7097, allocations: 73.45 kB / 0.8349 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.7097, allocations: 9.031 kB / 0.8349 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005601/0.7103, allocations: 33.83 kB / 0.835 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.7103, allocations: 13.53 kB / 0.835 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005039/0.7108, allocations: 308.4 kB / 0.8353 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003359/0.7112, allocations: 222.1 kB / 0.8355 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005911/0.7118, allocations: 328.1 kB / 0.8358 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.037e-06/0.7118, allocations: 0 / 0.8358 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007169/0.7125, allocations: 421.6 kB / 0.8362 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.7125, allocations: 8.734 kB / 0.8362 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-06/0.7125, allocations: 0 / 0.8362 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.591e-06/0.7125, allocations: 2.594 kB / 0.8362 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.7128, allocations: 71 kB / 0.8363 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.7129, allocations: 7.312 kB / 0.8363 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004779/0.7134, allocations: 34.27 kB / 0.8363 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.7134, allocations: 18.17 kB / 0.8363 GB, free: 14.48 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.0001586/0.7136, allocations: 201 kB / 0.8365 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.7137, allocations: 65.19 kB / 0.8366 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007901/0.7145, allocations: 427.1 kB / 0.837 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.7145, allocations: 2.125 kB / 0.837 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.7145, allocations: 3.938 kB / 0.837 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005837/0.7151, allocations: 429.7 kB / 0.8374 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.7169, allocations: 1.179 MB / 0.8386 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.717, allocations: 0 / 0.8386 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003997/0.7174, allocations: 88.66 kB / 0.8387 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-06/0.7174, allocations: 5 kB / 0.8387 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.7174, allocations: 6.781 kB / 0.8387 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.7174, allocations: 8.781 kB / 0.8387 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.7174, allocations: 2.25 kB / 0.8387 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.7185, allocations: 0.7072 MB / 0.8394 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002694/0.7188, allocations: 177 kB / 0.8395 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.487e-05/0.7189, allocations: 10.58 kB / 0.8395 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004841/0.7194, allocations: 20.2 kB / 0.8396 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.116e-05/0.7195, allocations: 30.31 kB / 0.8396 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/0.7195, allocations: 18.02 kB / 0.8396 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004146/0.7199, allocations: 361.9 kB / 0.84 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7199, allocations: 3.938 kB / 0.84 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008551/0.7208, allocations: 323.5 kB / 0.8403 GB, free: 11.87 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.0004618/0.7213, allocations: 191.4 kB / 0.8404 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.7223, allocations: 0.5207 MB / 0.841 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.7223, allocations: 1.906 kB / 0.841 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002999/0.7226, allocations: 182.6 kB / 0.8411 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/0.7242, allocations: 349.8 kB / 0.8415 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.7264, allocations: 1.297 MB / 0.8427 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/0.7269, allocations: 0.9281 MB / 0.8436 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.7271, allocations: 51.53 kB / 0.8437 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of SimCode: time 8.81e-07/0.7271, allocations: 0 / 0.8437 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of Templates: time 0.01543/0.7426, allocations: 9.656 MB / 0.8531 GB, free: 52 kB / 0.6075 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)