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.001202/0.001202, allocations: 108.6 kB / 17.03 MB, free: 6.094 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.001235/0.001235, allocations: 190.9 kB / 17.97 MB, free: 5.191 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.324/1.324, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7209/0.7209, allocations: 115.1 MB / 406.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002686/0.002687, allocations: 63.89 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3699, allocations: 76.14 MB / 0.5576 GB, free: 36.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.1921/0.5621, allocations: 183.2 MB / 0.7365 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008135/0.5702, allocations: 4.866 MB / 0.7412 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.5715, allocations: 31.81 kB / 0.7413 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.5728, allocations: 445.3 kB / 0.7417 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00359/0.5764, allocations: 1.406 MB / 0.7431 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002145/0.5786, allocations: 0.7834 MB / 0.7438 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002419/0.581, allocations: 1.848 MB / 0.7456 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000886/0.5819, allocations: 0.5901 MB / 0.7462 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001901/0.5838, allocations: 0.8832 MB / 0.7471 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001169/0.585, allocations: 0.5362 MB / 0.7476 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.5851, allocations: 56 kB / 0.7476 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2996/0.8848, allocations: 1.409 MB / 0.749 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004829/0.8853, allocations: 263.5 kB / 0.7493 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006935/0.886, allocations: 395.6 kB / 0.7497 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00318/0.8892, allocations: 1.421 MB / 0.751 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.8892, allocations: 2.531 kB / 0.751 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8892, allocations: 0.9062 kB / 0.751 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.264e-05/0.8892, allocations: 0.75 kB / 0.751 GB, free: 4.855 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.002071/0.8913, allocations: 1.11 MB / 0.7521 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.8914, allocations: 11.41 kB / 0.7521 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/0.8928, allocations: 209.2 kB / 0.7523 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.894, allocations: 0.61 MB / 0.7529 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.894, allocations: 37.12 kB / 0.753 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.041e-05/0.8941, allocations: 52.31 kB / 0.753 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.8952, allocations: 497.2 kB / 0.7535 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.8952, allocations: 1.781 kB / 0.7535 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.293e-05/0.8953, allocations: 22.09 kB / 0.7535 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.186e-05/0.8953, allocations: 17.58 kB / 0.7535 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009057/0.8962, allocations: 441 kB / 0.754 GB, free: 3.891 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.003433/0.8997, allocations: 2.009 MB / 0.7559 GB, free: 18.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007361/0.9004, allocations: 348.7 kB / 0.7562 GB, free: 18.89 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003792/0.9008, allocations: 219.3 kB / 0.7565 GB, free: 18.88 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003091/0.9011, allocations: 191.2 kB / 0.7566 GB, free: 18.69 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.9012, allocations: 39.55 kB / 0.7567 GB, free: 18.65 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.894e-06/0.9012, allocations: 0 / 0.7567 GB, free: 18.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001371/0.9026, allocations: 0.5405 MB / 0.7572 GB, free: 18.58 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.9026, allocations: 59.25 kB / 0.7573 GB, free: 18.52 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006832/0.9033, allocations: 0.5074 MB / 0.7578 GB, free: 18.39 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.039e-05/0.9034, allocations: 35.95 kB / 0.7578 GB, free: 18.36 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.9036, allocations: 303.1 kB / 0.7581 GB, free: 18.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.9037, allocations: 117.9 kB / 0.7582 GB, free: 18.15 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.9038, allocations: 65.33 kB / 0.7583 GB, free: 18.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.904, allocations: 368.9 kB / 0.7586 GB, free: 17.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/0.9043, allocations: 142.8 kB / 0.7587 GB, free: 17.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000345/0.9046, allocations: 210.1 kB / 0.7589 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000606/0.9052, allocations: 340.3 kB / 0.7593 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.9052, allocations: 3.062 kB / 0.7593 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008309/0.9061, allocations: 426.6 kB / 0.7597 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.9061, allocations: 5.953 kB / 0.7597 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.9061, allocations: 6.812 kB / 0.7597 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.9061, allocations: 2.625 kB / 0.7597 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003721/0.9065, allocations: 73.11 kB / 0.7598 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.9065, allocations: 6.25 kB / 0.7598 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005523/0.9071, allocations: 37.94 kB / 0.7598 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.9072, allocations: 14.98 kB / 0.7598 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005497/0.9077, allocations: 308.2 kB / 0.7601 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003238/0.908, allocations: 213.2 kB / 0.7603 GB, free: 17.49 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005698/0.9086, allocations: 338 kB / 0.7606 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.873e-06/0.9086, allocations: 0 / 0.7606 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0008071/0.9094, allocations: 424.3 kB / 0.761 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.9095, allocations: 6.922 kB / 0.761 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.9095, allocations: 2.047 kB / 0.7611 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-06/0.9095, allocations: 8.125 kB / 0.7611 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003528/0.9099, allocations: 70.3 kB / 0.7611 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.9099, allocations: 6.219 kB / 0.7611 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005425/0.9104, allocations: 37.34 kB / 0.7612 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.9105, allocations: 15.25 kB / 0.7612 GB, free: 17.37 MB / 0.5919 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.0001765/0.9106, allocations: 199 kB / 0.7614 GB, free: 17.19 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.9108, allocations: 55.44 kB / 0.7614 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009279/0.9117, allocations: 429.2 kB / 0.7618 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.9117, allocations: 7.328 kB / 0.7618 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.9117, allocations: 2.453 kB / 0.7618 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000678/0.9124, allocations: 435.2 kB / 0.7623 GB, free: 16.94 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/0.9146, allocations: 1.172 MB / 0.7634 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.9147, allocations: 9.875 kB / 0.7634 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004639/0.9151, allocations: 83.97 kB / 0.7635 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.9152, allocations: 2.812 kB / 0.7635 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.9152, allocations: 8.25 kB / 0.7635 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.9152, allocations: 4.781 kB / 0.7635 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.9152, allocations: 7.234 kB / 0.7635 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.9163, allocations: 0.6985 MB / 0.7642 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003649/0.9167, allocations: 181.2 kB / 0.7644 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.9168, allocations: 7.344 kB / 0.7644 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005264/0.9174, allocations: 25.2 kB / 0.7644 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/0.9175, allocations: 29.06 kB / 0.7644 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/0.9175, allocations: 17.28 kB / 0.7644 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004708/0.918, allocations: 369.4 kB / 0.7648 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.918, allocations: 0 / 0.7648 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001096/0.9191, allocations: 319.8 kB / 0.7651 GB, free: 16.1 MB / 0.5919 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.0004943/0.9196, allocations: 194.7 kB / 0.7653 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001115/0.9207, allocations: 0.5255 MB / 0.7658 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.9207, allocations: 1.156 kB / 0.7658 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003121/0.921, allocations: 185.3 kB / 0.766 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.9227, allocations: 347.5 kB / 0.7663 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.9249, allocations: 1.244 MB / 0.7675 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/0.9254, allocations: 0.9315 MB / 0.7684 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006859/0.9261, allocations: 182.7 kB / 0.7686 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.9263, allocations: 49.84 kB / 0.7687 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of SimCode: time 3.8e-07/0.9263, allocations: 1.891 kB / 0.7687 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of Templates: time 0.02029/0.9466, allocations: 11.67 MB / 0.7801 GB, free: 14.2 MB / 0.5919 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1)