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.001084/0.001089, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006253/0.006253, allocations: 170 kB / 16.26 MB, free: 6.613 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.321/1.321, allocations: 223.2 MB / 240.3 MB, free: 5.344 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.005/1.005, allocations: 143.2 MB / 434.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003007/0.0003007, allocations: 12 kB / 0.5164 GB, free: 11.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1584, allocations: 83.41 MB / 0.5978 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.4501/0.6086, allocations: 157.3 MB / 0.7515 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002896/0.6115, allocations: 1.756 MB / 0.7532 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002721/0.6118, allocations: 13.72 kB / 0.7532 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005779/0.6124, allocations: 131.6 kB / 0.7533 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001157/0.6135, allocations: 0.4935 MB / 0.7538 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008985/0.6144, allocations: 350.7 kB / 0.7541 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003088/0.6175, allocations: 3.475 MB / 0.7575 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000891/0.6184, allocations: 0.7513 MB / 0.7583 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001346/0.6198, allocations: 0.9025 MB / 0.7591 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007799/0.6206, allocations: 0.7194 MB / 0.7598 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.509e-05/0.6207, allocations: 32 kB / 0.7599 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.6219, allocations: 0.8029 MB / 0.7607 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002745/0.6222, allocations: 270.9 kB / 0.7609 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005004/0.6227, allocations: 0.5378 MB / 0.7614 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.6241, allocations: 1.398 MB / 0.7628 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6241, allocations: 0 / 0.7628 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6241, allocations: 0 / 0.7628 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.6241, allocations: 0 / 0.7628 GB, free: 3.086 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.001923/0.626, allocations: 1.264 MB / 0.764 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.6261, allocations: 12.03 kB / 0.7641 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007347/0.6268, allocations: 182.5 kB / 0.7642 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.6279, allocations: 0.8138 MB / 0.765 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.811e-05/0.628, allocations: 44.98 kB / 0.7651 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.685e-05/0.6281, allocations: 59.94 kB / 0.7651 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.6292, allocations: 0.7966 MB / 0.7659 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.6292, allocations: 0 / 0.7659 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.12e-05/0.6293, allocations: 24 kB / 0.7659 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.6293, allocations: 12 kB / 0.7659 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008851/0.6302, allocations: 0.5501 MB / 0.7665 GB, free: 15.14 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.003691/0.6339, allocations: 4.599 MB / 0.771 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007133/0.6346, allocations: 431.4 kB / 0.7714 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003734/0.635, allocations: 248.7 kB / 0.7716 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002765/0.6353, allocations: 190.2 kB / 0.7718 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004798/0.6358, allocations: 297 kB / 0.7721 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 2.013e-06/0.6358, allocations: 0 / 0.7721 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001308/0.6371, allocations: 0.6503 MB / 0.7727 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.6372, allocations: 81.11 kB / 0.7728 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.6384, allocations: 1.118 MB / 0.7739 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.459e-05/0.6384, allocations: 45.69 kB / 0.7739 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003782/0.6388, allocations: 492.1 kB / 0.7744 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.188e-05/0.6389, allocations: 110.5 kB / 0.7745 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.488e-05/0.639, allocations: 45.69 kB / 0.7745 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.6391, allocations: 325.9 kB / 0.7749 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003632/0.6395, allocations: 212.7 kB / 0.7751 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000623/0.6401, allocations: 0.5239 MB / 0.7756 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008694/0.641, allocations: 0.6544 MB / 0.7762 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.641, allocations: 0 / 0.7762 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00115/0.6422, allocations: 0.7339 MB / 0.7769 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001628/0.6423, allocations: 266.6 kB / 0.7772 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.6423, allocations: 8 kB / 0.7772 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.6424, allocations: 12 kB / 0.7772 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/0.6428, allocations: 109.6 kB / 0.7773 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.6428, allocations: 15.92 kB / 0.7773 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006682/0.6435, allocations: 91.53 kB / 0.7774 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.6435, allocations: 24 kB / 0.7774 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.655e-06/0.6436, allocations: 4 kB / 0.7774 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008578/0.6444, allocations: 0.5492 MB / 0.778 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.6444, allocations: 8.547 kB / 0.778 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.614e-06/0.6445, allocations: 8.094 kB / 0.778 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.6448, allocations: 107.8 kB / 0.7781 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.6448, allocations: 16.03 kB / 0.7781 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000585/0.6454, allocations: 95.75 kB / 0.7782 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.6455, allocations: 28 kB / 0.7782 GB, free: 2.281 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.0004973/0.646, allocations: 465.2 kB / 0.7787 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.6461, allocations: 98.78 kB / 0.7788 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008655/0.647, allocations: 0.4989 MB / 0.7792 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.647, allocations: 4 kB / 0.7792 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.647, allocations: 0 / 0.7792 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.647, allocations: 3.984 kB / 0.7793 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/0.6489, allocations: 1.399 MB / 0.7806 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.6489, allocations: 0 / 0.7806 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.6492, allocations: 76.05 kB / 0.7807 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.6492, allocations: 7.938 kB / 0.7807 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.6492, allocations: 4 kB / 0.7807 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.6492, allocations: 4 kB / 0.7807 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6492, allocations: 4 kB / 0.7807 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008165/0.6501, allocations: 0.6159 MB / 0.7813 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002904/0.6504, allocations: 215.8 kB / 0.7815 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.521e-05/0.6505, allocations: 11.94 kB / 0.7815 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004423/0.6509, allocations: 51.89 kB / 0.7816 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.242e-05/0.651, allocations: 27.95 kB / 0.7816 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.6511, allocations: 12 kB / 0.7816 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009121/0.652, allocations: 0.7914 MB / 0.7824 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.652, allocations: 0 / 0.7824 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001178/0.6532, allocations: 407.4 kB / 0.7828 GB, free: 13.46 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.000436/0.6536, allocations: 171.9 kB / 0.7829 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001316/0.6549, allocations: 0.8338 MB / 0.7838 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6549, allocations: 0 / 0.7838 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004172/0.6554, allocations: 211.7 kB / 0.784 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/0.6576, allocations: 453.3 kB / 0.7844 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.6602, allocations: 2.059 MB / 0.7864 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006954/0.6609, allocations: 1.181 MB / 0.7876 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001105/0.662, allocations: 423.6 kB / 0.788 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.6622, allocations: 75.42 kB / 0.788 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of SimCode: time 7.61e-07/0.6622, allocations: 0 / 0.788 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of Templates: time 0.02669/0.6889, allocations: 16.46 MB / 0.8041 GB, free: 7.762 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)