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.0007652/0.0007652, allocations: 98.73 kB / 16.02 MB, free: 80 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.0008687/0.0008688, allocations: 183.7 kB / 16.92 MB, free: 6.754 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.359/1.359, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7461/0.7461, allocations: 123 MB / 415.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004196/0.0004197, allocations: 8 kB / 0.4933 GB, free: 14.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4129, allocations: 79.29 MB / 0.5707 GB, free: 9.914 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.181/0.594, allocations: 163.4 MB / 0.7303 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005673/0.5997, allocations: 4.03 MB / 0.7342 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005133/0.6002, allocations: 15.88 kB / 0.7342 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008632/0.6011, allocations: 202.9 kB / 0.7344 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002054/0.6032, allocations: 0.6302 MB / 0.735 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.6046, allocations: 434.6 kB / 0.7354 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004121/0.6088, allocations: 3.811 MB / 0.7392 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003279/0.6121, allocations: 2.356 MB / 0.7415 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002537/0.6146, allocations: 1.117 MB / 0.7426 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.6163, allocations: 0.8635 MB / 0.7434 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002692/0.6166, allocations: 48 kB / 0.7434 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.6188, allocations: 0.8964 MB / 0.7443 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005368/0.6194, allocations: 330.8 kB / 0.7446 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001209/0.6206, allocations: 0.6039 MB / 0.7452 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002186/0.6228, allocations: 1.581 MB / 0.7468 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.6228, allocations: 0 / 0.7468 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6228, allocations: 4 kB / 0.7468 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.6228, allocations: 0 / 0.7468 GB, free: 7.855 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.00246/0.6253, allocations: 1.488 MB / 0.7482 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.6253, allocations: 8.031 kB / 0.7482 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007953/0.6261, allocations: 198.3 kB / 0.7484 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.6274, allocations: 0.8851 MB / 0.7493 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.04e-05/0.6275, allocations: 53.31 kB / 0.7493 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.6276, allocations: 63.98 kB / 0.7494 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.6291, allocations: 0.9987 MB / 0.7504 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.6291, allocations: 7.938 kB / 0.7504 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.769e-05/0.6292, allocations: 20 kB / 0.7504 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.6292, allocations: 16 kB / 0.7504 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.6305, allocations: 0.8078 MB / 0.7512 GB, free: 3.125 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.004634/0.6352, allocations: 4.797 MB / 0.7559 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002456/0.6377, allocations: 4.015 MB / 0.7598 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005179/0.6382, allocations: 349.7 kB / 0.7601 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002971/0.6385, allocations: 186.5 kB / 0.7603 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005868/0.6391, allocations: 349.7 kB / 0.7607 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002992/0.6394, allocations: 27.69 kB / 0.7607 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=35): time 2.114e-06/0.6394, allocations: 0 / 0.7607 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of matching and sorting (n=35): time 0.005206/0.6446, allocations: 1.77 MB / 0.7624 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.6447, allocations: 85.09 kB / 0.7625 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.6461, allocations: 1.189 MB / 0.7637 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.143e-05/0.6462, allocations: 37.64 kB / 0.7637 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004058/0.6466, allocations: 0.5083 MB / 0.7642 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.911e-05/0.6467, allocations: 126.2 kB / 0.7643 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.836e-05/0.6468, allocations: 45.7 kB / 0.7644 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.6469, allocations: 333.9 kB / 0.7647 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/0.6473, allocations: 232.9 kB / 0.7649 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006829/0.648, allocations: 0.5643 MB / 0.7654 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009914/0.649, allocations: 0.6973 MB / 0.7661 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.649, allocations: 0 / 0.7661 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002508/0.6515, allocations: 1.167 MB / 0.7673 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001987/0.6518, allocations: 271.4 kB / 0.7675 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.6518, allocations: 11.98 kB / 0.7675 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.6531, allocations: 390.7 kB / 0.7679 GB, free: 404 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/0.6535, allocations: 67.89 kB / 0.768 GB, free: 336 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.6547, allocations: 1.048 MB / 0.769 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.6557, allocations: 99.86 kB / 0.7691 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.288e-05/0.6558, allocations: 24 kB / 0.7691 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.6558, allocations: 4 kB / 0.7691 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001449/0.6573, allocations: 0.8173 MB / 0.7699 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.6573, allocations: 4 kB / 0.7699 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006037/0.6579, allocations: 261.5 kB / 0.7702 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/0.6582, allocations: 75.83 kB / 0.7702 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003471/0.6617, allocations: 3.102 MB / 0.7733 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009428/0.6626, allocations: 91.91 kB / 0.7734 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.6627, allocations: 24 kB / 0.7734 GB, free: 10.62 MB / 0.6075 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.0005465/0.6632, allocations: 480.7 kB / 0.7738 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.6634, allocations: 110.8 kB / 0.7739 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/0.6648, allocations: 0.8165 MB / 0.7747 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.6649, allocations: 7.984 kB / 0.7747 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.6649, allocations: 3.938 kB / 0.7748 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.6649, allocations: 0 / 0.7748 GB, free: 9.188 MB / 0.6075 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.002779/0.6677, allocations: 2.169 MB / 0.7769 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6677, allocations: 0 / 0.7769 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.6679, allocations: 56.17 kB / 0.7769 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004717/0.6684, allocations: 215.6 kB / 0.7771 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.6685, allocations: 15.94 kB / 0.7771 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000726/0.6692, allocations: 0.8801 MB / 0.778 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.6692, allocations: 3.938 kB / 0.778 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.6705, allocations: 0.8869 MB / 0.7789 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003166/0.6708, allocations: 235.7 kB / 0.7791 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.6709, allocations: 8 kB / 0.7791 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006853/0.6716, allocations: 71.91 kB / 0.7792 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/0.6717, allocations: 31.97 kB / 0.7792 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.6717, allocations: 8 kB / 0.7792 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009941/0.6727, allocations: 0.8367 MB / 0.78 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6727, allocations: 0 / 0.78 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001311/0.6741, allocations: 0.5031 MB / 0.7805 GB, free: 3.047 MB / 0.6075 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.0004089/0.6745, allocations: 180.3 kB / 0.7807 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001954/0.6764, allocations: 1.162 MB / 0.7818 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.6765, allocations: 0 / 0.7818 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004926/0.6769, allocations: 272.6 kB / 0.7821 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003632/0.6806, allocations: 0.6415 MB / 0.7827 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003065/0.6837, allocations: 2.209 MB / 0.7849 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007975/0.6845, allocations: 1.209 MB / 0.7861 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001126/0.6856, allocations: 376.6 kB / 0.7864 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.6858, allocations: 71.44 kB / 0.7865 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of SimCode: time 8.41e-07/0.6858, allocations: 3.938 kB / 0.7865 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of Templates: time 0.03479/0.7206, allocations: 21.68 MB / 0.8077 GB, free: 7.414 MB / 0.6387 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)