Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 92.55 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.001348/0.001348, allocations: 175.2 kB / 16.58 MB, free: 6.844 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.391/1.391, allocations: 223.3 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.703/0.703, allocations: 115.5 MB / 407.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002976, allocations: 8.219 kB / 495.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1332, allocations: 77.53 MB / 0.5593 GB, free: 9.457 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.3945/0.5277, allocations: 152.4 MB / 0.7081 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004913/0.5326, allocations: 3.783 MB / 0.7118 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003284/0.533, allocations: 15.88 kB / 0.7118 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005222/0.5335, allocations: 147 kB / 0.712 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.5348, allocations: 0.5093 MB / 0.7125 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.5359, allocations: 414.3 kB / 0.7129 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003264/0.5391, allocations: 3.276 MB / 0.7161 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002698/0.5419, allocations: 2.286 MB / 0.7183 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001827/0.5437, allocations: 1.066 MB / 0.7194 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.5448, allocations: 0.8443 MB / 0.7202 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.5449, allocations: 48 kB / 0.7202 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.5461, allocations: 0.6003 MB / 0.7208 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003366/0.5464, allocations: 330.8 kB / 0.7211 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002772/0.5467, allocations: 249.1 kB / 0.7214 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.5479, allocations: 1.177 MB / 0.7225 GB, free: 252 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.5479, allocations: 0 / 0.7225 GB, free: 252 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5479, allocations: 0 / 0.7225 GB, free: 252 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.389e-05/0.548, allocations: 0 / 0.7225 GB, free: 252 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002445/0.5504, allocations: 1.523 MB / 0.724 GB, free: 14.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.5505, allocations: 8.031 kB / 0.724 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000796/0.5513, allocations: 202.3 kB / 0.7242 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.5528, allocations: 0.8679 MB / 0.725 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/0.5528, allocations: 53.27 kB / 0.7251 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.5529, allocations: 60 kB / 0.7252 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.5544, allocations: 1.003 MB / 0.7261 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.5544, allocations: 3.938 kB / 0.7261 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.708e-05/0.5545, allocations: 24 kB / 0.7262 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.5545, allocations: 16 kB / 0.7262 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.5559, allocations: 0.7999 MB / 0.727 GB, free: 11.5 MB / 0.545 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.004584/0.5605, allocations: 4.812 MB / 0.7317 GB, free: 6.344 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002522/0.563, allocations: 4.022 MB / 0.7356 GB, free: 1.496 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005259/0.5635, allocations: 345.2 kB / 0.7359 GB, free: 1.156 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00033/0.5639, allocations: 202.5 kB / 0.7361 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005657/0.5645, allocations: 325.1 kB / 0.7364 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003169/0.5648, allocations: 39.59 kB / 0.7365 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of pre-optimization done (n=35): time 2.375e-06/0.5648, allocations: 0 / 0.7365 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.005008/0.5698, allocations: 1.688 MB / 0.7381 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.5699, allocations: 85.06 kB / 0.7382 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.5714, allocations: 1.181 MB / 0.7393 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/0.5715, allocations: 41.7 kB / 0.7394 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00046/0.5719, allocations: 0.5044 MB / 0.7399 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.723e-05/0.572, allocations: 122.3 kB / 0.74 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.5721, allocations: 8 kB / 0.74 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.5722, allocations: 334 kB / 0.7403 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003789/0.5726, allocations: 205 kB / 0.7405 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000607/0.5732, allocations: 0.537 MB / 0.741 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/0.5737, allocations: 326.4 kB / 0.7413 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.5737, allocations: 0 / 0.7413 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002306/0.576, allocations: 1.084 MB / 0.7424 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001928/0.5762, allocations: 283 kB / 0.7427 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.5762, allocations: 4 kB / 0.7427 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001522/0.5777, allocations: 441.3 kB / 0.7431 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.5781, allocations: 71.89 kB / 0.7432 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.5795, allocations: 1.122 MB / 0.7443 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008425/0.5804, allocations: 100 kB / 0.7444 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.304e-05/0.5804, allocations: 27.98 kB / 0.7444 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/0.5804, allocations: 4 kB / 0.7444 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001481/0.5819, allocations: 0.8142 MB / 0.7452 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.582, allocations: 4 kB / 0.7452 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005742/0.5825, allocations: 260.2 kB / 0.7454 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.5828, allocations: 71.89 kB / 0.7455 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003878/0.5867, allocations: 3.142 MB / 0.7486 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008035/0.5875, allocations: 95.81 kB / 0.7487 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/0.5876, allocations: 31.98 kB / 0.7487 GB, free: 3.516 MB / 0.5606 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005462/0.5881, allocations: 476.3 kB / 0.7491 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.5883, allocations: 110.7 kB / 0.7493 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.5897, allocations: 0.8281 MB / 0.7501 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.5897, allocations: 4 kB / 0.7501 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.5897, allocations: 0 / 0.7501 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.5897, allocations: 3.984 kB / 0.7501 GB, free: 2.086 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 postOpt removeSimpleEquations (simulation): time 0.002853/0.5926, allocations: 2.176 MB / 0.7522 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.5926, allocations: 0 / 0.7522 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.5929, allocations: 43.97 kB / 0.7522 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004948/0.5934, allocations: 244.7 kB / 0.7525 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.5934, allocations: 8 kB / 0.7525 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008999/0.5943, allocations: 0.9476 MB / 0.7534 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.5943, allocations: 3.938 kB / 0.7534 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.5956, allocations: 0.8828 MB / 0.7543 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003523/0.596, allocations: 243.6 kB / 0.7545 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.5961, allocations: 8 kB / 0.7545 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006353/0.5967, allocations: 75.84 kB / 0.7546 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.306e-05/0.5968, allocations: 35.91 kB / 0.7546 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.5968, allocations: 15.94 kB / 0.7546 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001025/0.5979, allocations: 0.8289 MB / 0.7554 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5979, allocations: 0 / 0.7554 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001324/0.5992, allocations: 0.5032 MB / 0.7559 GB, free: 11.85 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * 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): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003979/0.5996, allocations: 193.1 kB / 0.7561 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002464/0.6021, allocations: 1.277 MB / 0.7574 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.6021, allocations: 4 kB / 0.7574 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006248/0.6027, allocations: 321.1 kB / 0.7577 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002981/0.6057, allocations: 0.6554 MB / 0.7583 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002979/0.6087, allocations: 2.218 MB / 0.7605 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007422/0.6095, allocations: 1.216 MB / 0.7617 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009507/0.6104, allocations: 320.6 kB / 0.762 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.6106, allocations: 75.42 kB / 0.762 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.6106, allocations: 3.938 kB / 0.762 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of Templates: time 0.03492/0.6455, allocations: 20.79 MB / 0.7823 GB, free: 0.9336 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)