Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 98.88 kB / 16.02 MB, free: 76 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.001545/0.001545, allocations: 186.3 kB / 16.92 MB, free: 6.77 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.426/1.426, allocations: 223.3 MB / 241 MB, free: 5.375 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.02/1.02, allocations: 143.2 MB / 435.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.000356, allocations: 16 kB / 0.517 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1777, allocations: 83.41 MB / 0.5985 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.4835/0.6613, allocations: 157.3 MB / 0.7521 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003561/0.6649, allocations: 1.753 MB / 0.7538 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00039/0.6653, allocations: 13.75 kB / 0.7539 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005997/0.666, allocations: 136.5 kB / 0.754 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.6674, allocations: 0.4939 MB / 0.7545 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.6686, allocations: 351.4 kB / 0.7548 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003669/0.6723, allocations: 3.475 MB / 0.7582 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.6735, allocations: 0.7481 MB / 0.7589 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00194/0.6754, allocations: 0.9025 MB / 0.7598 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009859/0.6764, allocations: 0.7116 MB / 0.7605 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.912e-05/0.6765, allocations: 32 kB / 0.7605 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.6782, allocations: 0.8028 MB / 0.7613 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003103/0.6785, allocations: 286.9 kB / 0.7616 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006796/0.6792, allocations: 0.5223 MB / 0.7621 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.6805, allocations: 1.044 MB / 0.7631 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.6805, allocations: 0.9375 kB / 0.7631 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6805, allocations: 0 / 0.7631 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.6805, allocations: 0 / 0.7631 GB, free: 3.582 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.002077/0.6826, allocations: 1.268 MB / 0.7644 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.6827, allocations: 12.03 kB / 0.7644 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000805/0.6835, allocations: 182.5 kB / 0.7645 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.6847, allocations: 0.8021 MB / 0.7653 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.662e-05/0.6848, allocations: 47.94 kB / 0.7654 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.896e-05/0.6849, allocations: 60 kB / 0.7654 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.6862, allocations: 0.7966 MB / 0.7662 GB, free: 236 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.6862, allocations: 7.875 kB / 0.7662 GB, free: 228 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.379e-05/0.6862, allocations: 28 kB / 0.7662 GB, free: 200 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.6863, allocations: 12 kB / 0.7663 GB, free: 188 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009512/0.6872, allocations: 0.5461 MB / 0.7668 GB, free: 15.63 MB / 0.5919 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.004299/0.6915, allocations: 4.606 MB / 0.7713 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007384/0.6923, allocations: 415.2 kB / 0.7717 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004016/0.6927, allocations: 256.8 kB / 0.7719 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003/0.693, allocations: 198.1 kB / 0.7721 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000503/0.6935, allocations: 289.1 kB / 0.7724 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.783e-06/0.6935, allocations: 0 / 0.7724 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001422/0.695, allocations: 0.6503 MB / 0.773 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.695, allocations: 85.09 kB / 0.7731 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.6964, allocations: 1.118 MB / 0.7742 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.18e-05/0.6965, allocations: 37.7 kB / 0.7742 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004209/0.6969, allocations: 492.1 kB / 0.7747 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.697, allocations: 110.5 kB / 0.7748 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.47e-05/0.6971, allocations: 45.7 kB / 0.7749 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.6972, allocations: 333.8 kB / 0.7752 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/0.6976, allocations: 208.7 kB / 0.7754 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006266/0.6982, allocations: 0.5278 MB / 0.7759 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009213/0.6992, allocations: 0.6466 MB / 0.7765 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.6992, allocations: 0 / 0.7765 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001296/0.7005, allocations: 0.7294 MB / 0.7772 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001869/0.7007, allocations: 275.1 kB / 0.7775 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.7007, allocations: 8 kB / 0.7775 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.7007, allocations: 8 kB / 0.7775 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004469/0.7012, allocations: 115.8 kB / 0.7776 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.7012, allocations: 11.94 kB / 0.7776 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007504/0.702, allocations: 91.53 kB / 0.7777 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-05/0.702, allocations: 27.98 kB / 0.7777 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.7021, allocations: 4 kB / 0.7777 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009371/0.703, allocations: 0.5455 MB / 0.7783 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.703, allocations: 8 kB / 0.7783 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.703, allocations: 12.06 kB / 0.7783 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/0.7034, allocations: 103.8 kB / 0.7784 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.7034, allocations: 8 kB / 0.7784 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006646/0.7041, allocations: 91.56 kB / 0.7785 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.7041, allocations: 20 kB / 0.7785 GB, free: 2.797 MB / 0.5919 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): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005534/0.7047, allocations: 480.7 kB / 0.779 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.7048, allocations: 102.7 kB / 0.7791 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009351/0.7058, allocations: 0.4988 MB / 0.7796 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.7058, allocations: 7.938 kB / 0.7796 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.7058, allocations: 4 kB / 0.7796 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.7058, allocations: 0.875 kB / 0.7796 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.7078, allocations: 1.391 MB / 0.7809 GB, free: 236 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.7078, allocations: 4 kB / 0.7809 GB, free: 232 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.7081, allocations: 67.89 kB / 0.781 GB, free: 164 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/0.7081, allocations: 8.156 kB / 0.781 GB, free: 156 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.7081, allocations: 15.98 kB / 0.781 GB, free: 140 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.7081, allocations: 7.438 kB / 0.781 GB, free: 136 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.7082, allocations: 4 kB / 0.781 GB, free: 132 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008325/0.709, allocations: 0.6081 MB / 0.7816 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002954/0.7093, allocations: 211.8 kB / 0.7818 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.7094, allocations: 15.92 kB / 0.7818 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004475/0.7099, allocations: 51.89 kB / 0.7819 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.951e-05/0.71, allocations: 31.91 kB / 0.7819 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.71, allocations: 12 kB / 0.7819 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001011/0.711, allocations: 0.7914 MB / 0.7827 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.11e-07/0.711, allocations: 0 / 0.7827 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001131/0.7122, allocations: 403.4 kB / 0.7831 GB, free: 13.95 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_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): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004488/0.7126, allocations: 171.1 kB / 0.7833 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001438/0.7141, allocations: 0.8406 MB / 0.7841 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.7141, allocations: 5.312 kB / 0.7841 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000361/0.7145, allocations: 200.2 kB / 0.7843 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/0.7168, allocations: 452.2 kB / 0.7847 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.7201, allocations: 2.105 MB / 0.7868 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007482/0.7209, allocations: 1.177 MB / 0.7879 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/0.7211, allocations: 79.36 kB / 0.788 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of SimCode: time 7.91e-07/0.7211, allocations: 0 / 0.788 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of Templates: time 0.0244/0.7455, allocations: 15.8 MB / 0.8034 GB, free: 9.18 MB / 0.6231 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)