Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009321/0.0009325, allocations: 89.56 kB / 16.67 MB, free: 6.59 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.001039/0.001039, allocations: 183.3 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.356/1.356, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7482/0.7482, allocations: 115.5 MB / 408.2 MB, free: 7.059 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003655, allocations: 8.234 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4315/0.4318, allocations: 77.52 MB / 0.5606 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.1977/0.6296, allocations: 163.4 MB / 0.7201 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006039/0.6357, allocations: 4.029 MB / 0.724 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005735/0.6363, allocations: 15.88 kB / 0.7241 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007951/0.6372, allocations: 202.9 kB / 0.7243 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001915/0.6391, allocations: 0.6408 MB / 0.7249 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.6404, allocations: 429.2 kB / 0.7253 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004062/0.6445, allocations: 3.807 MB / 0.729 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003045/0.6475, allocations: 2.348 MB / 0.7313 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00258/0.6501, allocations: 1.12 MB / 0.7324 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.6515, allocations: 0.8714 MB / 0.7332 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.6516, allocations: 48 kB / 0.7333 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001714/0.6533, allocations: 0.8964 MB / 0.7342 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003831/0.6537, allocations: 330.8 kB / 0.7345 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007525/0.6545, allocations: 0.5962 MB / 0.7351 GB, free: 156 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.6558, allocations: 1.169 MB / 0.7362 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6559, allocations: 0 / 0.7362 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6559, allocations: 0 / 0.7362 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.6559, allocations: 4 kB / 0.7362 GB, free: 14.98 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.002603/0.6585, allocations: 1.479 MB / 0.7377 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.6585, allocations: 8.031 kB / 0.7377 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008421/0.6594, allocations: 210.3 kB / 0.7379 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.6607, allocations: 0.8696 MB / 0.7387 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.747e-05/0.6608, allocations: 53.31 kB / 0.7388 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.6609, allocations: 60 kB / 0.7388 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.6624, allocations: 0.9948 MB / 0.7398 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.6624, allocations: 3.938 kB / 0.7398 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.041e-05/0.6625, allocations: 24 kB / 0.7398 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/0.6625, allocations: 12 kB / 0.7398 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.6638, allocations: 0.8116 MB / 0.7406 GB, free: 10.27 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.005109/0.669, allocations: 4.804 MB / 0.7453 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/0.6716, allocations: 4.023 MB / 0.7492 GB, free: 272 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3826/1.054, allocations: 351.7 kB / 0.7496 GB, free: 24.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003731/1.055, allocations: 192.3 kB / 0.7498 GB, free: 24.16 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007624/1.055, allocations: 335.8 kB / 0.7501 GB, free: 24.09 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005221/1.056, allocations: 31.47 kB / 0.7501 GB, free: 24.09 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.023e-06/1.056, allocations: 0 / 0.7501 GB, free: 24.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.006163/1.062, allocations: 1.762 MB / 0.7518 GB, free: 23.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/1.062, allocations: 89.91 kB / 0.7519 GB, free: 23.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/1.064, allocations: 1.184 MB / 0.7531 GB, free: 23.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.634e-05/1.064, allocations: 42.66 kB / 0.7531 GB, free: 23.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004835/1.065, allocations: 0.5124 MB / 0.7536 GB, free: 23.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/1.065, allocations: 121.6 kB / 0.7537 GB, free: 23.42 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.323e-05/1.065, allocations: 45.48 kB / 0.7538 GB, free: 23.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.166e-05/1.065, allocations: 329.6 kB / 0.7541 GB, free: 23.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004905/1.066, allocations: 235.6 kB / 0.7543 GB, free: 23.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007694/1.066, allocations: 0.5644 MB / 0.7549 GB, free: 22.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/1.068, allocations: 0.6953 MB / 0.7555 GB, free: 22.49 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/1.068, allocations: 1.531 kB / 0.7555 GB, free: 22.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002918/1.071, allocations: 1.147 MB / 0.7567 GB, free: 22.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001684/1.071, allocations: 279 kB / 0.7569 GB, free: 22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.071, allocations: 5.406 kB / 0.7569 GB, free: 22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001474/1.072, allocations: 388.3 kB / 0.7573 GB, free: 21.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/1.073, allocations: 74.53 kB / 0.7574 GB, free: 21.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/1.074, allocations: 1.059 MB / 0.7584 GB, free: 21.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/1.075, allocations: 96.34 kB / 0.7585 GB, free: 21.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.779e-05/1.075, allocations: 29.31 kB / 0.7585 GB, free: 21.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/1.075, allocations: 3.625 kB / 0.7585 GB, free: 21.43 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001661/1.077, allocations: 0.8165 MB / 0.7593 GB, free: 21.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.077, allocations: 7.047 kB / 0.7593 GB, free: 21.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006702/1.077, allocations: 254.3 kB / 0.7596 GB, free: 21.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/1.078, allocations: 78.52 kB / 0.7597 GB, free: 21.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00412/1.082, allocations: 3.105 MB / 0.7627 GB, free: 19.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/1.083, allocations: 88.62 kB / 0.7628 GB, free: 19.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.114e-05/1.083, allocations: 21.98 kB / 0.7628 GB, free: 19.94 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 {(1,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0007699/1.084, allocations: 486.8 kB / 0.7633 GB, free: 19.74 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/1.084, allocations: 107.4 kB / 0.7634 GB, free: 19.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/1.086, allocations: 0.8174 MB / 0.7642 GB, free: 19.57 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/1.086, allocations: 4.875 kB / 0.7642 GB, free: 19.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/1.086, allocations: 0 / 0.7642 GB, free: 19.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.026e-06/1.086, allocations: 4.453 kB / 0.7642 GB, free: 19.57 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.002933/1.089, allocations: 2.161 MB / 0.7663 GB, free: 18.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/1.089, allocations: 6.875 kB / 0.7663 GB, free: 18.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/1.089, allocations: 49.84 kB / 0.7663 GB, free: 18.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004719/1.089, allocations: 207.3 kB / 0.7665 GB, free: 18.74 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/1.089, allocations: 9.062 kB / 0.7665 GB, free: 18.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006682/1.09, allocations: 0.8889 MB / 0.7674 GB, free: 18.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.09, allocations: 6.016 kB / 0.7674 GB, free: 18.21 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/1.091, allocations: 0.8923 MB / 0.7683 GB, free: 17.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003422/1.092, allocations: 231.6 kB / 0.7685 GB, free: 17.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/1.092, allocations: 14.89 kB / 0.7685 GB, free: 17.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006626/1.093, allocations: 83.98 kB / 0.7686 GB, free: 17.74 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.992e-05/1.093, allocations: 29.67 kB / 0.7686 GB, free: 17.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/1.093, allocations: 9.469 kB / 0.7686 GB, free: 17.74 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001079/1.094, allocations: 0.8409 MB / 0.7695 GB, free: 17.63 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.094, allocations: 0 / 0.7695 GB, free: 17.63 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001622/1.095, allocations: 0.4993 MB / 0.7699 GB, free: 17.59 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 {(1,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004568/1.096, allocations: 190.8 kB / 0.7701 GB, free: 17.49 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002182/1.098, allocations: 1.158 MB / 0.7713 GB, free: 17.22 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.098, allocations: 0.6875 kB / 0.7713 GB, free: 17.22 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005133/1.099, allocations: 262.7 kB / 0.7715 GB, free: 17.21 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003741/1.102, allocations: 0.6484 MB / 0.7721 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/1.106, allocations: 2.254 MB / 0.7743 GB, free: 16.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007514/1.107, allocations: 1.215 MB / 0.7755 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/1.107, allocations: 70.58 kB / 0.7756 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of SimCode: time 1.493e-06/1.107, allocations: 0 / 0.7756 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of Templates: time 0.03345/1.14, allocations: 22.37 MB / 0.7974 GB, free: 7.566 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)