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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(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.0009325/0.0009325, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.0009812/0.0009813, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9623/0.9623, allocations: 143.3 MB / 434.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.000342, allocations: 12 kB / 0.5158 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1546, allocations: 83.41 MB / 0.5973 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.404/0.5586, allocations: 135.7 MB / 0.7298 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002833/0.5615, allocations: 1.674 MB / 0.7315 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002322/0.5618, allocations: 9.844 kB / 0.7315 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005881/0.5624, allocations: 185.8 kB / 0.7316 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.5636, allocations: 0.4991 MB / 0.7321 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.5648, allocations: 404 kB / 0.7325 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001894/0.5667, allocations: 1.494 MB / 0.734 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.5678, allocations: 0.7011 MB / 0.7347 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.569, allocations: 0.7005 MB / 0.7353 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006579/0.5697, allocations: 496.8 kB / 0.7358 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.704e-05/0.5698, allocations: 36.94 kB / 0.7358 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.5708, allocations: 410.6 kB / 0.7362 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002777/0.5711, allocations: 259.8 kB / 0.7365 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002342/0.5713, allocations: 229.1 kB / 0.7367 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.5724, allocations: 1.01 MB / 0.7377 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.5724, allocations: 0 / 0.7377 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5725, allocations: 0 / 0.7377 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.5725, allocations: 0 / 0.7377 GB, free: 11.36 MB / 0.5606 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.002087/0.5746, allocations: 1.286 MB / 0.7389 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.5746, allocations: 8.031 kB / 0.739 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007714/0.5754, allocations: 185.7 kB / 0.7391 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/0.5769, allocations: 0.7988 MB / 0.7399 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.886e-05/0.577, allocations: 49.56 kB / 0.74 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.861e-05/0.5771, allocations: 60 kB / 0.74 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.5783, allocations: 0.7895 MB / 0.7408 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.5783, allocations: 4.547 kB / 0.7408 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.982e-05/0.5784, allocations: 20 kB / 0.7408 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.5784, allocations: 12 kB / 0.7408 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009473/0.5794, allocations: 0.5472 MB / 0.7414 GB, free: 7.941 MB / 0.5606 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.003901/0.5833, allocations: 4.602 MB / 0.7459 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007553/0.584, allocations: 435.9 kB / 0.7463 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.366e-05/0.5841, allocations: 22.22 kB / 0.7463 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000476/0.5846, allocations: 301 kB / 0.7466 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.944e-06/0.5846, allocations: 0 / 0.7466 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.00133/0.586, allocations: 0.6454 MB / 0.7472 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.586, allocations: 114.7 kB / 0.7473 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.5874, allocations: 1.106 MB / 0.7484 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/0.5874, allocations: 37.7 kB / 0.7484 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003823/0.5878, allocations: 500 kB / 0.7489 GB, free: 324 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.935e-05/0.5879, allocations: 106.5 kB / 0.749 GB, free: 216 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/0.588, allocations: 8 kB / 0.749 GB, free: 208 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.5881, allocations: 337.9 kB / 0.7493 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.5884, allocations: 180.7 kB / 0.7495 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005493/0.589, allocations: 0.4979 MB / 0.75 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004251/0.5894, allocations: 292.5 kB / 0.7503 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.5894, allocations: 4 kB / 0.7503 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001056/0.5905, allocations: 0.6738 MB / 0.7509 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008105/0.5913, allocations: 2.13 MB / 0.753 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.5913, allocations: 8 kB / 0.753 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.5914, allocations: 11.95 kB / 0.753 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004425/0.5918, allocations: 119.8 kB / 0.7532 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.5918, allocations: 4 kB / 0.7532 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007172/0.5925, allocations: 112.7 kB / 0.7533 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/0.5926, allocations: 24 kB / 0.7533 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/0.5926, allocations: 4 kB / 0.7533 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008545/0.5935, allocations: 0.5482 MB / 0.7538 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.5935, allocations: 4 kB / 0.7538 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.265e-06/0.5935, allocations: 8 kB / 0.7538 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/0.5939, allocations: 107.8 kB / 0.7539 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.5939, allocations: 11.98 kB / 0.7539 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005945/0.5945, allocations: 91.62 kB / 0.754 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.5945, allocations: 27.98 kB / 0.7541 GB, free: 10.71 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005458/0.5951, allocations: 472.6 kB / 0.7545 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.5952, allocations: 98.78 kB / 0.7546 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008458/0.5961, allocations: 491.9 kB / 0.7551 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.5961, allocations: 4 kB / 0.7551 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.5961, allocations: 1.625 kB / 0.7551 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.5961, allocations: 4 kB / 0.7551 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.5976, allocations: 1.098 MB / 0.7562 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5977, allocations: 4 kB / 0.7562 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.5979, allocations: 67.89 kB / 0.7562 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.5979, allocations: 4 kB / 0.7562 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.598, allocations: 19.88 kB / 0.7563 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.598, allocations: 4 kB / 0.7563 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.598, allocations: 224 / 0.7563 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007946/0.5988, allocations: 0.6291 MB / 0.7569 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003227/0.5991, allocations: 223.7 kB / 0.7571 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.5992, allocations: 8 kB / 0.7571 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004499/0.5997, allocations: 56.67 kB / 0.7571 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.271e-05/0.5998, allocations: 35.89 kB / 0.7572 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.5998, allocations: 12 kB / 0.7572 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009169/0.6007, allocations: 0.7836 MB / 0.758 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6007, allocations: 0 / 0.758 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001039/0.6018, allocations: 415.4 kB / 0.7584 GB, free: 6.113 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_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004259/0.6022, allocations: 186.4 kB / 0.7585 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001249/0.6035, allocations: 0.8011 MB / 0.7593 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6035, allocations: 4 kB / 0.7593 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003529/0.6039, allocations: 199.7 kB / 0.7595 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.6056, allocations: 457.3 kB / 0.7599 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.6082, allocations: 1.958 MB / 0.7619 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006524/0.6088, allocations: 1.197 MB / 0.763 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001002/0.6099, allocations: 432 kB / 0.7634 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.61, allocations: 71.42 kB / 0.7635 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/0.61, allocations: 3.938 kB / 0.7635 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of Templates: time 0.02562/0.6356, allocations: 16.03 MB / 0.7792 GB, free: 0.9531 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: