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.0008658/0.0008658, allocations: 92.39 kB / 15.7 MB, free: 472 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.0009138/0.0009138, allocations: 175.6 kB / 16.58 MB, free: 6.066 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.362/1.362, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7023/0.7023, allocations: 115.5 MB / 407.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003112, allocations: 9.75 kB / 495.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1319, allocations: 77.53 MB / 0.5593 GB, free: 9.379 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.4066/0.5385, allocations: 146.7 MB / 0.7026 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002553/0.5411, allocations: 1.653 MB / 0.7042 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.5413, allocations: 7.938 kB / 0.7042 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003987/0.5417, allocations: 115.2 kB / 0.7043 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0009026/0.5426, allocations: 394.1 kB / 0.7047 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008256/0.5435, allocations: 331.3 kB / 0.705 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002936/0.5464, allocations: 2.979 MB / 0.7079 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008788/0.5473, allocations: 0.6878 MB / 0.7086 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.5486, allocations: 0.8636 MB / 0.7095 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007889/0.5494, allocations: 0.704 MB / 0.7101 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.324e-05/0.5494, allocations: 36 kB / 0.7102 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.5505, allocations: 0.5574 MB / 0.7107 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002743/0.5508, allocations: 278.9 kB / 0.711 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.551, allocations: 233.1 kB / 0.7112 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009906/0.552, allocations: 1.017 MB / 0.7122 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.552, allocations: 7.938 kB / 0.7122 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.463e-06/0.552, allocations: 0 / 0.7122 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.552, allocations: 0 / 0.7122 GB, free: 10.7 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001901/0.5539, allocations: 1.3 MB / 0.7135 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.554, allocations: 8.031 kB / 0.7135 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007071/0.5547, allocations: 186.5 kB / 0.7137 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.556, allocations: 0.804 MB / 0.7144 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.818e-05/0.556, allocations: 45 kB / 0.7145 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.6e-05/0.5561, allocations: 60 kB / 0.7145 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.5573, allocations: 0.8003 MB / 0.7153 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.5573, allocations: 7.938 kB / 0.7153 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5e-05/0.5574, allocations: 23.95 kB / 0.7154 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.5574, allocations: 16 kB / 0.7154 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009179/0.5583, allocations: 0.5423 MB / 0.7159 GB, free: 6.723 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.003722/0.562, allocations: 4.599 MB / 0.7204 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007068/0.5628, allocations: 426.3 kB / 0.7208 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003954/0.5632, allocations: 254.7 kB / 0.721 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002733/0.5635, allocations: 194.1 kB / 0.7212 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004766/0.5639, allocations: 301.1 kB / 0.7215 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 2.094e-06/0.564, allocations: 0 / 0.7215 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.00129/0.5653, allocations: 0.6445 MB / 0.7221 GB, free: 15.88 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.5653, allocations: 89.09 kB / 0.7222 GB, free: 15.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.5666, allocations: 1.106 MB / 0.7233 GB, free: 14.64 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.5667, allocations: 37.7 kB / 0.7233 GB, free: 14.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003996/0.5671, allocations: 0.4884 MB / 0.7238 GB, free: 14.11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.169e-05/0.5672, allocations: 98.5 kB / 0.7239 GB, free: 14.01 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/0.5672, allocations: 12 kB / 0.7239 GB, free: 14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.5673, allocations: 322.2 kB / 0.7242 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.5677, allocations: 188.7 kB / 0.7244 GB, free: 13.49 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000581/0.5683, allocations: 0.5018 MB / 0.7249 GB, free: 12.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.5687, allocations: 302 kB / 0.7252 GB, free: 12.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5687, allocations: 0 / 0.7252 GB, free: 12.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001081/0.5698, allocations: 0.6785 MB / 0.7259 GB, free: 11.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001671/0.57, allocations: 270.6 kB / 0.7261 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.57, allocations: 8 kB / 0.7261 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.57, allocations: 8 kB / 0.7261 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/0.5719, allocations: 392.1 kB / 0.7265 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003415/0.5753, allocations: 6.099 MB / 0.7325 GB, free: 4.785 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006907/0.576, allocations: 103.5 kB / 0.7326 GB, free: 4.684 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.677e-05/0.5761, allocations: 23.98 kB / 0.7326 GB, free: 4.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/0.5761, allocations: 6.188 kB / 0.7326 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008919/0.577, allocations: 0.536 MB / 0.7331 GB, free: 4.113 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.577, allocations: 4 kB / 0.7331 GB, free: 4.109 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/0.577, allocations: 12.62 kB / 0.7331 GB, free: 4.098 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005616/0.5776, allocations: 159.8 kB / 0.7333 GB, free: 3.941 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.5776, allocations: 11.94 kB / 0.7333 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005847/0.5782, allocations: 99.47 kB / 0.7334 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/0.5782, allocations: 28 kB / 0.7334 GB, free: 3.805 MB / 0.545 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * 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 (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004924/0.5787, allocations: 473.3 kB / 0.7339 GB, free: 3.336 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.5789, allocations: 98.78 kB / 0.734 GB, free: 3.238 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008891/0.5798, allocations: 0.4951 MB / 0.7344 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.5798, allocations: 4 kB / 0.7344 GB, free: 2.734 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.5798, allocations: 4 kB / 0.7344 GB, free: 2.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.964e-06/0.5798, allocations: 7.938 kB / 0.7345 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.5817, allocations: 1.393 MB / 0.7358 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.5817, allocations: 7.953 kB / 0.7358 GB, free: 1.246 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000599/0.5823, allocations: 156 kB / 0.736 GB, free: 1.094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.5824, allocations: 4 kB / 0.736 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.5824, allocations: 8 kB / 0.736 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002882/0.5853, allocations: 6.021 MB / 0.7419 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.5853, allocations: 4 kB / 0.7419 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008324/0.5861, allocations: 0.6142 MB / 0.7425 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002799/0.5864, allocations: 219.7 kB / 0.7427 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.5865, allocations: 11.98 kB / 0.7427 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004636/0.587, allocations: 51.89 kB / 0.7427 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.745e-05/0.5871, allocations: 39.84 kB / 0.7428 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.5871, allocations: 12 kB / 0.7428 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009634/0.5881, allocations: 0.7875 MB / 0.7436 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5881, allocations: 4 kB / 0.7436 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001067/0.5892, allocations: 407.4 kB / 0.7439 GB, free: 8.625 MB / 0.5606 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 (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00036/0.5895, allocations: 162.8 kB / 0.7441 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002905/0.5925, allocations: 1.103 MB / 0.7452 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5925, allocations: 0 / 0.7452 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007964/0.5933, allocations: 307.2 kB / 0.7455 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/0.5952, allocations: 461.9 kB / 0.7459 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.5979, allocations: 2.019 MB / 0.7479 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007635/0.5987, allocations: 1.18 MB / 0.749 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009489/0.5996, allocations: 375.5 kB / 0.7494 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.5998, allocations: 67.42 kB / 0.7495 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.5998, allocations: 0 / 0.7495 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of Templates: time 0.02769/0.6275, allocations: 16.76 MB / 0.7658 GB, free: 2.324 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)