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: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001465, allocations: 178.3 kB / 16.57 MB, free: 6.859 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.478/1.478, allocations: 223.2 MB / 240.5 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6455/0.6455, allocations: 113.8 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003787, allocations: 12.58 kB / 493 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1835, allocations: 77.16 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.5/0.6835, allocations: 152.5 MB / 0.7058 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007957/0.6916, allocations: 4.785 MB / 0.7105 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008647/0.6925, allocations: 23.81 kB / 0.7105 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.6938, allocations: 446 kB / 0.7109 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003917/0.6978, allocations: 1.387 MB / 0.7123 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002655/0.7004, allocations: 0.8762 MB / 0.7131 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002161/0.7026, allocations: 1.096 MB / 0.7142 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007665/0.7034, allocations: 453.6 kB / 0.7146 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/0.7047, allocations: 0.5918 MB / 0.7152 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005046/0.7052, allocations: 350.6 kB / 0.7155 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.776e-05/0.7053, allocations: 28 kB / 0.7156 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002154/0.7074, allocations: 0.6903 MB / 0.7162 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002411/0.7077, allocations: 207.4 kB / 0.7164 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.7079, allocations: 165.3 kB / 0.7166 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.709, allocations: 0.8783 MB / 0.7174 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.709, allocations: 0 / 0.7174 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.465e-06/0.709, allocations: 0 / 0.7174 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.709, allocations: 0 / 0.7174 GB, free: 5.465 MB / 0.5294 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.001614/0.7106, allocations: 0.9506 MB / 0.7184 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.7107, allocations: 12.03 kB / 0.7184 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.7121, allocations: 210.9 kB / 0.7186 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.7131, allocations: 0.5619 MB / 0.7191 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.199e-05/0.7131, allocations: 40.94 kB / 0.7192 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-05/0.7132, allocations: 48 kB / 0.7192 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009314/0.7142, allocations: 494.3 kB / 0.7197 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.7142, allocations: 0 / 0.7197 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.484e-05/0.7143, allocations: 20 kB / 0.7197 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.609e-05/0.7143, allocations: 20.95 kB / 0.7197 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008024/0.7151, allocations: 451.7 kB / 0.7202 GB, free: 2.598 MB / 0.5294 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.002726/0.7179, allocations: 2.013 MB / 0.7221 GB, free: 412 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006192/0.7185, allocations: 359.5 kB / 0.7225 GB, free: 44 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.528e-05/0.7186, allocations: 12.27 kB / 0.7225 GB, free: 32 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.7186, allocations: 34.92 kB / 0.7225 GB, free: 15.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.854e-06/0.7186, allocations: 0 / 0.7225 GB, free: 15.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.001334/0.72, allocations: 0.5533 MB / 0.7231 GB, free: 15.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.72, allocations: 55.41 kB / 0.7231 GB, free: 15.36 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005906/0.7206, allocations: 0.5029 MB / 0.7236 GB, free: 14.85 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.489e-05/0.7207, allocations: 37.7 kB / 0.7236 GB, free: 14.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.7209, allocations: 304.2 kB / 0.7239 GB, free: 14.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.372e-05/0.721, allocations: 118.2 kB / 0.724 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/0.721, allocations: 8 kB / 0.724 GB, free: 14.38 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.7212, allocations: 370.7 kB / 0.7244 GB, free: 14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.7214, allocations: 136.6 kB / 0.7245 GB, free: 13.87 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/0.7218, allocations: 212.7 kB / 0.7247 GB, free: 13.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.7221, allocations: 167.8 kB / 0.7249 GB, free: 13.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.7221, allocations: 0 / 0.7249 GB, free: 13.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006997/0.7228, allocations: 433.5 kB / 0.7253 GB, free: 13.05 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001857/0.723, allocations: 372.5 kB / 0.7257 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.723, allocations: 0 / 0.7257 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.723, allocations: 0 / 0.7257 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/0.7234, allocations: 75.91 kB / 0.7257 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.7234, allocations: 3.984 kB / 0.7257 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005686/0.724, allocations: 71.64 kB / 0.7258 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.724, allocations: 8 kB / 0.7258 GB, free: 12.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.724, allocations: 4 kB / 0.7258 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006097/0.7246, allocations: 365.2 kB / 0.7262 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.7246, allocations: 0 / 0.7262 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.531e-06/0.7246, allocations: 4 kB / 0.7262 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.7249, allocations: 67.91 kB / 0.7262 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.725, allocations: 3.984 kB / 0.7262 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/0.7255, allocations: 71.73 kB / 0.7263 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.7255, allocations: 11.95 kB / 0.7263 GB, free: 11.98 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003486/0.7259, allocations: 293 kB / 0.7266 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.595e-05/0.726, allocations: 59.34 kB / 0.7266 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007436/0.7267, allocations: 436 kB / 0.7271 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.7267, allocations: 4 kB / 0.7271 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.7267, allocations: 0 / 0.7271 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005879/0.7273, allocations: 444.2 kB / 0.7275 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/0.7292, allocations: 1.18 MB / 0.7286 GB, free: 9.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.7292, allocations: 4 kB / 0.7286 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/0.7296, allocations: 96.05 kB / 0.7287 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.7296, allocations: 3.953 kB / 0.7287 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.7297, allocations: 13.19 kB / 0.7288 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.7297, allocations: 0 / 0.7288 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.7297, allocations: 7.984 kB / 0.7288 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.7307, allocations: 0.7832 MB / 0.7295 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002741/0.731, allocations: 180.3 kB / 0.7297 GB, free: 8.305 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.375e-05/0.7311, allocations: 11.95 kB / 0.7297 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005059/0.7316, allocations: 55.89 kB / 0.7298 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/0.7317, allocations: 23.97 kB / 0.7298 GB, free: 8.215 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.7317, allocations: 12 kB / 0.7298 GB, free: 8.203 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004366/0.7322, allocations: 366.8 kB / 0.7301 GB, free: 7.848 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7322, allocations: 0 / 0.7301 GB, free: 7.848 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009224/0.7331, allocations: 323.1 kB / 0.7305 GB, free: 7.531 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000512/0.7336, allocations: 192.1 kB / 0.7306 GB, free: 7.344 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001029/0.7347, allocations: 0.5205 MB / 0.7311 GB, free: 6.824 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.7347, allocations: 4.375 kB / 0.7312 GB, free: 6.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003073/0.735, allocations: 180.7 kB / 0.7313 GB, free: 6.645 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.7367, allocations: 374.2 kB / 0.7317 GB, free: 6.293 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.7388, allocations: 1.56 MB / 0.7332 GB, free: 4.688 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/0.7393, allocations: 0.9451 MB / 0.7341 GB, free: 3.715 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000668/0.74, allocations: 188.8 kB / 0.7343 GB, free: 3.527 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.7401, allocations: 47.42 kB / 0.7344 GB, free: 3.48 MB / 0.545 GB Notification: Performance of SimCode: time 1.232e-06/0.7401, allocations: 0 / 0.7344 GB, free: 3.48 MB / 0.545 GB Notification: Performance of Templates: time 0.01911/0.7593, allocations: 10.92 MB / 0.745 GB, free: 8.75 MB / 0.5606 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)