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.001094/0.001094, allocations: 103.2 kB / 15.98 MB, free: 6.352 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.001866/0.001866, allocations: 195.7 kB / 16.91 MB, free: 6.195 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.394/1.394, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7985/0.7985, allocations: 122.9 MB / 413.6 MB, free: 44 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.89 kB / 0.4906 GB, free: 7.852 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.379, allocations: 77.92 MB / 0.5667 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.248/0.6271, allocations: 180.8 MB / 0.7433 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008614/0.6357, allocations: 4.836 MB / 0.748 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001371/0.6372, allocations: 27.81 kB / 0.748 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.6385, allocations: 386 kB / 0.7484 GB, free: 364 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.4118/1.05, allocations: 1.323 MB / 0.7497 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002513/1.053, allocations: 0.7065 MB / 0.7504 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00355/1.056, allocations: 1.847 MB / 0.7522 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/1.058, allocations: 0.5743 MB / 0.7527 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002565/1.06, allocations: 0.868 MB / 0.7536 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001733/1.062, allocations: 0.576 MB / 0.7541 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001645/1.062, allocations: 59.09 kB / 0.7542 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003889/1.066, allocations: 1.468 MB / 0.7556 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006598/1.067, allocations: 264.2 kB / 0.7559 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009542/1.068, allocations: 399.8 kB / 0.7563 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00337/1.071, allocations: 1.49 MB / 0.7577 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/1.071, allocations: 1.156 kB / 0.7577 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.687e-06/1.071, allocations: 0 / 0.7577 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.155e-05/1.071, allocations: 2.062 kB / 0.7577 GB, free: 2.086 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.00225/1.074, allocations: 1.098 MB / 0.7588 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/1.074, allocations: 9.781 kB / 0.7588 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/1.075, allocations: 212.5 kB / 0.759 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/1.076, allocations: 0.5814 MB / 0.7596 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.516e-05/1.076, allocations: 34.53 kB / 0.7596 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/1.076, allocations: 53.44 kB / 0.7597 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/1.078, allocations: 0.4896 MB / 0.7601 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/1.078, allocations: 9.453 kB / 0.7601 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-05/1.078, allocations: 19.06 kB / 0.7602 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/1.078, allocations: 18.06 kB / 0.7602 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009184/1.079, allocations: 443 kB / 0.7606 GB, free: 17.05 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.003135/1.082, allocations: 2.001 MB / 0.7626 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006824/1.083, allocations: 349.9 kB / 0.7629 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000357/1.083, allocations: 206.2 kB / 0.7631 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003308/1.083, allocations: 197.4 kB / 0.7633 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/1.083, allocations: 39.09 kB / 0.7633 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.715e-06/1.083, allocations: 0.875 kB / 0.7633 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.00146/1.085, allocations: 0.5476 MB / 0.7639 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/1.085, allocations: 55.56 kB / 0.7639 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006609/1.086, allocations: 0.5116 MB / 0.7644 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.358e-05/1.086, allocations: 32.83 kB / 0.7644 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/1.086, allocations: 303.4 kB / 0.7647 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/1.086, allocations: 115.8 kB / 0.7648 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/1.086, allocations: 68.97 kB / 0.7649 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001624/1.086, allocations: 367 kB / 0.7653 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/1.087, allocations: 144.6 kB / 0.7654 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/1.087, allocations: 217.5 kB / 0.7656 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005911/1.088, allocations: 334.7 kB / 0.7659 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.088, allocations: 2.938 kB / 0.7659 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008463/1.088, allocations: 438.3 kB / 0.7663 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/1.088, allocations: 6.344 kB / 0.7663 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/1.088, allocations: 4.75 kB / 0.7663 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/1.088, allocations: 2.625 kB / 0.7663 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004153/1.089, allocations: 75.02 kB / 0.7664 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/1.089, allocations: 3.219 kB / 0.7664 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007617/1.09, allocations: 64.47 kB / 0.7665 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/1.09, allocations: 12.5 kB / 0.7665 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005883/1.09, allocations: 306.4 kB / 0.7668 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003404/1.091, allocations: 207.2 kB / 0.767 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006022/1.091, allocations: 334.1 kB / 0.7673 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.385e-06/1.091, allocations: 3.875 kB / 0.7673 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000822/1.092, allocations: 420.3 kB / 0.7677 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/1.092, allocations: 6.594 kB / 0.7677 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/1.092, allocations: 1.938 kB / 0.7677 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/1.092, allocations: 11.58 kB / 0.7677 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/1.093, allocations: 76.83 kB / 0.7678 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/1.093, allocations: 6.844 kB / 0.7678 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007113/1.093, allocations: 55.48 kB / 0.7679 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/1.093, allocations: 16.41 kB / 0.7679 GB, free: 14.52 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.0002171/1.094, allocations: 202.3 kB / 0.7681 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/1.094, allocations: 61.5 kB / 0.7681 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008912/1.095, allocations: 425.2 kB / 0.7685 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.447e-06/1.095, allocations: 3.906 kB / 0.7685 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/1.095, allocations: 0.6562 kB / 0.7685 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006852/1.095, allocations: 432.5 kB / 0.769 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/1.098, allocations: 1.175 MB / 0.7701 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/1.098, allocations: 2.406 kB / 0.7701 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004492/1.098, allocations: 84.95 kB / 0.7702 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/1.098, allocations: 2.969 kB / 0.7702 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/1.098, allocations: 10.41 kB / 0.7702 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.816e-06/1.098, allocations: 8.75 kB / 0.7702 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.098, allocations: 0.8125 kB / 0.7702 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/1.1, allocations: 0.7068 MB / 0.7709 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003328/1.1, allocations: 177.4 kB / 0.7711 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.929e-05/1.1, allocations: 13.61 kB / 0.7711 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005069/1.101, allocations: 45.16 kB / 0.7711 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.938e-05/1.101, allocations: 30.97 kB / 0.7711 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/1.101, allocations: 17.84 kB / 0.7712 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000401/1.101, allocations: 360.9 kB / 0.7715 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/1.101, allocations: 0.9062 kB / 0.7715 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009452/1.102, allocations: 322.7 kB / 0.7718 GB, free: 13.25 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.0004556/1.102, allocations: 194.7 kB / 0.772 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001027/1.104, allocations: 0.5548 MB / 0.7725 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.104, allocations: 3.594 kB / 0.7725 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000296/1.104, allocations: 173.6 kB / 0.7727 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/1.105, allocations: 354.4 kB / 0.7731 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/1.108, allocations: 1.482 MB / 0.7745 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/1.108, allocations: 0.9303 MB / 0.7754 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007033/1.109, allocations: 188.7 kB / 0.7756 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/1.109, allocations: 51.59 kB / 0.7756 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of SimCode: time 1.352e-06/1.109, allocations: 0.7188 kB / 0.7756 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of Templates: time 0.02087/1.13, allocations: 11.57 MB / 0.7869 GB, free: 11.03 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1)