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.001126/0.001125, allocations: 92.02 kB / 16.67 MB, free: 6.594 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.001111/0.001111, allocations: 182.4 kB / 17.58 MB, free: 6.188 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.358/1.358, allocations: 223.3 MB / 241.6 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7188/0.7188, allocations: 115.5 MB / 408.2 MB, free: 7.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003771, allocations: 8 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3913, allocations: 77.51 MB / 0.5606 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.1807/0.572, allocations: 163.4 MB / 0.7201 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006739/0.5788, allocations: 4.03 MB / 0.724 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000696/0.5796, allocations: 15.88 kB / 0.7241 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008618/0.5804, allocations: 202.9 kB / 0.7242 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.5825, allocations: 0.6341 MB / 0.7249 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.584, allocations: 431.1 kB / 0.7253 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00432/0.5884, allocations: 3.811 MB / 0.729 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00335/0.5917, allocations: 2.344 MB / 0.7313 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002792/0.5946, allocations: 1.124 MB / 0.7324 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001711/0.5963, allocations: 0.8752 MB / 0.7332 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000263/0.5966, allocations: 44 kB / 0.7333 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00213/0.5987, allocations: 0.8964 MB / 0.7342 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005543/0.5993, allocations: 326.8 kB / 0.7345 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001362/0.6007, allocations: 0.6001 MB / 0.7351 GB, free: 172 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.6024, allocations: 1.161 MB / 0.7362 GB, free: 15 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.6024, allocations: 4 kB / 0.7362 GB, free: 15 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.216e-06/0.6025, allocations: 0 / 0.7362 GB, free: 15 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.47e-05/0.6025, allocations: 0 / 0.7362 GB, free: 15 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.003168/0.6057, allocations: 1.483 MB / 0.7376 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.6058, allocations: 11.97 kB / 0.7377 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.6068, allocations: 210.3 kB / 0.7379 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/0.6085, allocations: 0.8736 MB / 0.7387 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.584e-05/0.6086, allocations: 49.31 kB / 0.7388 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.6087, allocations: 60 kB / 0.7388 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.6104, allocations: 0.9954 MB / 0.7398 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.6104, allocations: 3.938 kB / 0.7398 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.546e-05/0.6105, allocations: 24 kB / 0.7398 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.6105, allocations: 12 kB / 0.7398 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.6119, allocations: 0.8155 MB / 0.7406 GB, free: 10.28 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.005333/0.6173, allocations: 4.8 MB / 0.7453 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002728/0.62, allocations: 4.025 MB / 0.7492 GB, free: 284 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3575/0.9776, allocations: 345.7 kB / 0.7496 GB, free: 47.35 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003663/0.978, allocations: 196.7 kB / 0.7498 GB, free: 47.16 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007517/0.9788, allocations: 328.6 kB / 0.7501 GB, free: 47.1 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000482/0.9793, allocations: 36.5 kB / 0.7501 GB, free: 47.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.004e-06/0.9793, allocations: 3.656 kB / 0.7501 GB, free: 47.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.005936/0.9852, allocations: 1.697 MB / 0.7518 GB, free: 46.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.9853, allocations: 83.88 kB / 0.7518 GB, free: 46.85 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/0.9872, allocations: 1.183 MB / 0.753 GB, free: 46.71 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.898e-05/0.9873, allocations: 37.77 kB / 0.753 GB, free: 46.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004453/0.9877, allocations: 0.5145 MB / 0.7535 GB, free: 46.54 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.9879, allocations: 125.6 kB / 0.7537 GB, free: 46.46 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.367e-05/0.9879, allocations: 44.91 kB / 0.7537 GB, free: 46.45 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.724e-05/0.988, allocations: 325.1 kB / 0.754 GB, free: 46.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/0.9885, allocations: 236.3 kB / 0.7542 GB, free: 46.14 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006855/0.9892, allocations: 0.561 MB / 0.7548 GB, free: 45.78 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.9903, allocations: 0.6992 MB / 0.7555 GB, free: 45.56 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.9903, allocations: 5.281 kB / 0.7555 GB, free: 45.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002816/0.9932, allocations: 1.156 MB / 0.7566 GB, free: 45.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001545/0.9933, allocations: 271.6 kB / 0.7569 GB, free: 45.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.9934, allocations: 9.094 kB / 0.7569 GB, free: 45.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001682/0.995, allocations: 463 kB / 0.7573 GB, free: 45.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/0.9954, allocations: 78.09 kB / 0.7574 GB, free: 45.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/0.997, allocations: 1.124 MB / 0.7585 GB, free: 44.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.9984, allocations: 88.83 kB / 0.7586 GB, free: 44.49 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.9986, allocations: 26.25 kB / 0.7586 GB, free: 44.49 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.9986, allocations: 4.094 kB / 0.7586 GB, free: 44.49 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002606/1.001, allocations: 0.8048 MB / 0.7594 GB, free: 44.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/1.001, allocations: 10.11 kB / 0.7594 GB, free: 44.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009822/1.002, allocations: 243.9 kB / 0.7596 GB, free: 44.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005295/1.003, allocations: 81.72 kB / 0.7597 GB, free: 44.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006545/1.009, allocations: 3.114 MB / 0.7627 GB, free: 43.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/1.011, allocations: 96.12 kB / 0.7628 GB, free: 43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/1.011, allocations: 23.17 kB / 0.7629 GB, free: 43 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(11,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001241/1.013, allocations: 477.4 kB / 0.7633 GB, free: 42.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004239/1.013, allocations: 115.2 kB / 0.7634 GB, free: 42.74 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002687/1.016, allocations: 0.8322 MB / 0.7642 GB, free: 42.63 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/1.016, allocations: 3.25 kB / 0.7642 GB, free: 42.63 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.016, allocations: 4.781 kB / 0.7642 GB, free: 42.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/1.016, allocations: 4.359 kB / 0.7642 GB, free: 42.62 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 postOpt removeSimpleEquations (simulation): time 0.005382/1.021, allocations: 2.163 MB / 0.7664 GB, free: 41.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/1.021, allocations: 1.781 kB / 0.7664 GB, free: 41.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000409/1.022, allocations: 46.92 kB / 0.7664 GB, free: 41.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008676/1.022, allocations: 239.5 kB / 0.7666 GB, free: 41.79 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.844e-05/1.023, allocations: 8.094 kB / 0.7666 GB, free: 41.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/1.024, allocations: 0.9501 MB / 0.7676 GB, free: 41.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/1.024, allocations: 2.062 kB / 0.7676 GB, free: 41.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002249/1.026, allocations: 0.888 MB / 0.7684 GB, free: 40.95 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008788/1.027, allocations: 239.8 kB / 0.7687 GB, free: 40.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004036/1.027, allocations: 12.38 kB / 0.7687 GB, free: 40.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/1.029, allocations: 69.44 kB / 0.7687 GB, free: 40.79 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/1.029, allocations: 33.62 kB / 0.7688 GB, free: 40.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.349e-05/1.029, allocations: 17.55 kB / 0.7688 GB, free: 40.79 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002417/1.031, allocations: 0.8351 MB / 0.7696 GB, free: 40.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.9e-07/1.031, allocations: 0 / 0.7696 GB, free: 40.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003525/1.035, allocations: 0.503 MB / 0.7701 GB, free: 40.64 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(11,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007597/1.036, allocations: 181.2 kB / 0.7703 GB, free: 40.54 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004216/1.04, allocations: 1.309 MB / 0.7716 GB, free: 40.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/1.04, allocations: 0.9062 kB / 0.7716 GB, free: 40.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009752/1.041, allocations: 306.9 kB / 0.7718 GB, free: 40.24 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006512/1.047, allocations: 0.6501 MB / 0.7725 GB, free: 40.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004179/1.052, allocations: 2.367 MB / 0.7748 GB, free: 39.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000823/1.053, allocations: 1.216 MB / 0.776 GB, free: 38.38 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/1.053, allocations: 70.06 kB / 0.776 GB, free: 38.37 MB / 0.5762 GB Notification: Performance of SimCode: time 1.623e-06/1.053, allocations: 1.062 kB / 0.776 GB, free: 38.37 MB / 0.5762 GB Notification: Performance of Templates: time 0.03212/1.085, allocations: 22.77 MB / 0.7983 GB, free: 29.15 MB / 0.5762 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)