Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007675/0.0007674, allocations: 89.61 kB / 16.66 MB, free: 5.742 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.0008618/0.0008619, allocations: 180.7 kB / 17.57 MB, free: 5.477 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.346/1.346, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7182/0.7182, allocations: 115.5 MB / 408.2 MB, free: 7.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 15.98 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4046, allocations: 77.51 MB / 0.5606 GB, free: 35.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.177/0.5816, allocations: 157.3 MB / 0.7142 GB, free: 5.766 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003162/0.5848, allocations: 1.755 MB / 0.7159 GB, free: 4.008 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003235/0.5852, allocations: 7.938 kB / 0.7159 GB, free: 4 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005696/0.5858, allocations: 147.2 kB / 0.716 GB, free: 3.855 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.5871, allocations: 494 kB / 0.7165 GB, free: 3.371 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.5882, allocations: 359.3 kB / 0.7168 GB, free: 3.027 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003375/0.5916, allocations: 3.467 MB / 0.7202 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.5928, allocations: 0.7543 MB / 0.721 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00187/0.5946, allocations: 0.8908 MB / 0.7218 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009905/0.5957, allocations: 0.7194 MB / 0.7225 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.479e-05/0.5957, allocations: 36 kB / 0.7226 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.5973, allocations: 0.799 MB / 0.7234 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002929/0.5976, allocations: 274.9 kB / 0.7236 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006813/0.5983, allocations: 0.5339 MB / 0.7241 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.5995, allocations: 1.005 MB / 0.7251 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5995, allocations: 0 / 0.7251 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5995, allocations: 4 kB / 0.7251 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.016e-05/0.5996, allocations: 0 / 0.7251 GB, free: 10.51 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002057/0.6016, allocations: 1.268 MB / 0.7264 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.6017, allocations: 11.97 kB / 0.7264 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000749/0.6025, allocations: 186.5 kB / 0.7266 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.6037, allocations: 0.8021 MB / 0.7273 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.322e-05/0.6037, allocations: 41 kB / 0.7274 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-05/0.6038, allocations: 64 kB / 0.7274 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.605, allocations: 0.7932 MB / 0.7282 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.605, allocations: 7.938 kB / 0.7282 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.13e-05/0.6051, allocations: 24 kB / 0.7282 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.6051, allocations: 16 kB / 0.7283 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009081/0.606, allocations: 0.5461 MB / 0.7288 GB, free: 6.555 MB / 0.5606 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.004106/0.6101, allocations: 4.591 MB / 0.7333 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007281/0.6109, allocations: 434.2 kB / 0.7337 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000413/0.6113, allocations: 249.3 kB / 0.7339 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003094/0.6116, allocations: 198.2 kB / 0.7341 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005034/0.6121, allocations: 297.1 kB / 0.7344 GB, free: 368 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/0.6122, allocations: 4 kB / 0.7344 GB, free: 364 kB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001432/0.6136, allocations: 0.6435 MB / 0.735 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/0.6137, allocations: 89.09 kB / 0.7351 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.6151, allocations: 1.118 MB / 0.7362 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.347e-05/0.6151, allocations: 33.7 kB / 0.7362 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00041/0.6155, allocations: 492.1 kB / 0.7367 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.6156, allocations: 110.5 kB / 0.7368 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.982e-05/0.6157, allocations: 41.7 kB / 0.7369 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.6158, allocations: 329.9 kB / 0.7372 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000384/0.6162, allocations: 220.6 kB / 0.7374 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006195/0.6169, allocations: 0.5262 MB / 0.7379 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008676/0.6177, allocations: 0.6447 MB / 0.7385 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.6178, allocations: 4 kB / 0.7385 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001208/0.619, allocations: 0.7249 MB / 0.7392 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001712/0.6192, allocations: 271.1 kB / 0.7395 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.6192, allocations: 4 kB / 0.7395 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.6192, allocations: 15.88 kB / 0.7395 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/0.6211, allocations: 367.4 kB / 0.7399 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003762/0.6248, allocations: 6.087 MB / 0.7458 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008762/0.6257, allocations: 95.56 kB / 0.7459 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/0.6258, allocations: 27.98 kB / 0.7459 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.6258, allocations: 4 kB / 0.7459 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009043/0.6267, allocations: 0.5404 MB / 0.7465 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.6268, allocations: 4 kB / 0.7465 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.6268, allocations: 11.98 kB / 0.7465 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005115/0.6273, allocations: 155.9 kB / 0.7466 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.6273, allocations: 8 kB / 0.7466 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007052/0.628, allocations: 91.56 kB / 0.7467 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.6281, allocations: 23.98 kB / 0.7467 GB, free: 3.098 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005901/0.6287, allocations: 468.7 kB / 0.7472 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.6288, allocations: 98.78 kB / 0.7473 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009238/0.6297, allocations: 0.5027 MB / 0.7478 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.6297, allocations: 4 kB / 0.7478 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.6298, allocations: 0 / 0.7478 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.6298, allocations: 3.984 kB / 0.7478 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002236/0.632, allocations: 1.388 MB / 0.7491 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/0.632, allocations: 4 kB / 0.7491 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000596/0.6326, allocations: 155.7 kB / 0.7493 GB, free: 404 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.6327, allocations: 4 kB / 0.7493 GB, free: 400 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.6327, allocations: 8 kB / 0.7493 GB, free: 392 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.292/0.9247, allocations: 6.023 MB / 0.7552 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/0.9248, allocations: 8.453 kB / 0.7552 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.9261, allocations: 0.6085 MB / 0.7558 GB, free: 168 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004058/0.9265, allocations: 217.2 kB / 0.756 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.9266, allocations: 11.89 kB / 0.756 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005006/0.9271, allocations: 53.84 kB / 0.756 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.9272, allocations: 31.02 kB / 0.7561 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.9272, allocations: 13.22 kB / 0.7561 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001301/0.9286, allocations: 0.7895 MB / 0.7569 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.11e-07/0.9286, allocations: 0 / 0.7569 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001417/0.93, allocations: 410.1 kB / 0.7573 GB, free: 167.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000476/0.9305, allocations: 168.8 kB / 0.7574 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003283/0.9338, allocations: 1.113 MB / 0.7585 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.9338, allocations: 0.7188 kB / 0.7585 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008969/0.9347, allocations: 296.8 kB / 0.7588 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002753/0.9375, allocations: 465.1 kB / 0.7592 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003469/0.9409, allocations: 2.158 MB / 0.7613 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007994/0.9418, allocations: 1.178 MB / 0.7625 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/0.942, allocations: 69.84 kB / 0.7626 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/0.942, allocations: 0 / 0.7626 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.06268/1.005, allocations: 64.16 MB / 0.8252 GB, free: 117.5 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)