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.001517/0.001517, allocations: 105.5 kB / 16.94 MB, free: 6.156 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.001533/0.001533, allocations: 189.3 kB / 17.87 MB, free: 5.293 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.441/1.441, allocations: 222.9 MB / 241.6 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8198/0.8198, allocations: 125.3 MB / 417.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.88 kB / 0.4948 GB, free: 4.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4019, allocations: 78.55 MB / 0.5715 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.2095/0.6114, allocations: 161.6 MB / 0.7293 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006043/0.6175, allocations: 1.753 MB / 0.731 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004118/0.618, allocations: 15.88 kB / 0.7311 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009494/0.619, allocations: 155 kB / 0.7312 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00257/0.6216, allocations: 0.525 MB / 0.7317 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.6237, allocations: 390.6 kB / 0.7321 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00511/0.6288, allocations: 2.5 MB / 0.7345 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00229/0.6311, allocations: 0.9294 MB / 0.7354 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003487/0.6346, allocations: 1.16 MB / 0.7366 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/0.6363, allocations: 0.6806 MB / 0.7372 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001943/0.6365, allocations: 56 kB / 0.7373 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002526/0.6391, allocations: 0.7329 MB / 0.738 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005579/0.6397, allocations: 302.9 kB / 0.7383 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.6408, allocations: 0.544 MB / 0.7388 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002853/0.6436, allocations: 1.382 MB / 0.7402 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.6437, allocations: 0 / 0.7402 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.725e-06/0.6437, allocations: 0 / 0.7402 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.517e-05/0.6437, allocations: 0 / 0.7402 GB, free: 10.23 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003967/0.6477, allocations: 1.46 MB / 0.7416 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.6477, allocations: 12.03 kB / 0.7416 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.6493, allocations: 190.4 kB / 0.7418 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/0.6516, allocations: 0.7906 MB / 0.7426 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.146e-05/0.6517, allocations: 49 kB / 0.7426 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.6518, allocations: 56 kB / 0.7427 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/0.654, allocations: 0.7888 MB / 0.7434 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.877e-05/0.6541, allocations: 7.938 kB / 0.7435 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.734e-05/0.6542, allocations: 20 kB / 0.7435 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.6542, allocations: 20 kB / 0.7435 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.656, allocations: 0.5344 MB / 0.744 GB, free: 6.105 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.008431/0.6645, allocations: 4.603 MB / 0.7485 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.6659, allocations: 414.2 kB / 0.7489 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007584/0.6667, allocations: 249.3 kB / 0.7491 GB, free: 472 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004995/0.6672, allocations: 198.2 kB / 0.7493 GB, free: 236 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.384/1.051, allocations: 286.5 kB / 0.7496 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 7.514e-06/1.051, allocations: 0.7812 kB / 0.7496 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.003202/1.055, allocations: 0.6277 MB / 0.7502 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/1.055, allocations: 82.16 kB / 0.7503 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0038/1.058, allocations: 1.115 MB / 0.7514 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000161/1.059, allocations: 40.62 kB / 0.7514 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008125/1.059, allocations: 494.6 kB / 0.7519 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002282/1.06, allocations: 109 kB / 0.752 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004477/1.06, allocations: 115.6 kB / 0.7521 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.889e-05/1.06, allocations: 328.1 kB / 0.7524 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008277/1.061, allocations: 214.3 kB / 0.7526 GB, free: 170 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/1.062, allocations: 0.5179 MB / 0.7531 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001756/1.064, allocations: 0.6318 MB / 0.7537 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.426e-05/1.064, allocations: 1.656 kB / 0.7537 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00273/1.067, allocations: 0.7201 MB / 0.7545 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.069e-05/1.067, allocations: 35.11 kB / 0.7545 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/1.067, allocations: 6.281 kB / 0.7545 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.118e-05/1.067, allocations: 7.719 kB / 0.7545 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00322/1.07, allocations: 352.5 kB / 0.7548 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003902/1.074, allocations: 6.084 MB / 0.7608 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/1.076, allocations: 84.17 kB / 0.7609 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/1.076, allocations: 21.81 kB / 0.7609 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001811/1.078, allocations: 0.4991 MB / 0.7614 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001155/1.079, allocations: 498.9 kB / 0.7618 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001568/1.081, allocations: 0.5628 MB / 0.7624 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.026e-05/1.081, allocations: 1.656 kB / 0.7624 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.00219/1.083, allocations: 0.6415 MB / 0.763 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.064e-05/1.083, allocations: 42.3 kB / 0.7631 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/1.083, allocations: 6.406 kB / 0.7631 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/1.083, allocations: 10.45 kB / 0.7631 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/1.084, allocations: 152.8 kB / 0.7632 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.376e-05/1.084, allocations: 8.766 kB / 0.7632 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/1.085, allocations: 63.73 kB / 0.7633 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.918e-05/1.086, allocations: 23.83 kB / 0.7633 GB, free: 161.6 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.0003464/1.086, allocations: 217.4 kB / 0.7635 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004091/1.086, allocations: 103.1 kB / 0.7636 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001842/1.088, allocations: 496.2 kB / 0.7641 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/1.088, allocations: 4.469 kB / 0.7641 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/1.088, allocations: 1.75 kB / 0.7641 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/1.088, allocations: 2.328 kB / 0.7641 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003794/1.092, allocations: 1.389 MB / 0.7655 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/1.092, allocations: 3.75 kB / 0.7655 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/1.093, allocations: 148.2 kB / 0.7656 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-05/1.093, allocations: 3.594 kB / 0.7656 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.944e-05/1.093, allocations: 12.23 kB / 0.7656 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002815/1.096, allocations: 6.025 MB / 0.7715 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.096, allocations: 1.375 kB / 0.7715 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/1.098, allocations: 0.6033 MB / 0.7721 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006478/1.098, allocations: 215.1 kB / 0.7723 GB, free: 154 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003411/1.099, allocations: 8.031 kB / 0.7723 GB, free: 154 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008648/1.1, allocations: 21.75 kB / 0.7723 GB, free: 154 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/1.1, allocations: 36.62 kB / 0.7724 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-05/1.1, allocations: 17.56 kB / 0.7724 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00195/1.102, allocations: 0.7851 MB / 0.7731 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.11e-07/1.102, allocations: 0 / 0.7731 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002432/1.104, allocations: 410 kB / 0.7735 GB, free: 153.5 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.0006717/1.105, allocations: 178 kB / 0.7737 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005448/1.111, allocations: 1.135 MB / 0.7748 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/1.111, allocations: 1.156 kB / 0.7748 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001469/1.112, allocations: 283 kB / 0.7751 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00366/1.116, allocations: 454.8 kB / 0.7755 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004599/1.12, allocations: 1.852 MB / 0.7773 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009773/1.121, allocations: 1.182 MB / 0.7785 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/1.122, allocations: 70.88 kB / 0.7785 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.112e-06/1.122, allocations: 0 / 0.7785 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.05821/1.18, allocations: 64.25 MB / 0.8413 GB, free: 89.83 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)