Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008974/0.0008974, allocations: 99.86 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.0009499/0.0009499, 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.279/1.279, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.033/1.033, allocations: 143.3 MB / 434.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.000297, allocations: 16 kB / 0.5158 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1439, allocations: 83.4 MB / 0.5973 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.4222/0.5662, allocations: 135.7 MB / 0.7298 GB, free: 8 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00414/0.5703, allocations: 3.119 MB / 0.7329 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002297/0.5706, allocations: 9.094 kB / 0.7329 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005851/0.5712, allocations: 182.9 kB / 0.733 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.5724, allocations: 0.4999 MB / 0.7335 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.5736, allocations: 456.3 kB / 0.734 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001888/0.5755, allocations: 1.496 MB / 0.7354 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009104/0.5765, allocations: 0.7049 MB / 0.7361 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.5775, allocations: 0.7061 MB / 0.7368 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005478/0.5781, allocations: 494.8 kB / 0.7373 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.102e-05/0.5782, allocations: 32 kB / 0.7373 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008608/0.579, allocations: 411.9 kB / 0.7377 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000288/0.5793, allocations: 255.5 kB / 0.7379 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002212/0.5796, allocations: 241.5 kB / 0.7382 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.5807, allocations: 1.01 MB / 0.7392 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.5807, allocations: 4 kB / 0.7392 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5807, allocations: 0 / 0.7392 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.5807, allocations: 0 / 0.7392 GB, free: 9.957 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002156/0.5829, allocations: 1.287 MB / 0.7404 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.5829, allocations: 11.97 kB / 0.7404 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007537/0.5837, allocations: 182.2 kB / 0.7406 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.5852, allocations: 0.8071 MB / 0.7414 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.921e-05/0.5853, allocations: 41 kB / 0.7414 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.55e-05/0.5854, allocations: 59.98 kB / 0.7415 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.5866, allocations: 0.7897 MB / 0.7423 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.5866, allocations: 3.938 kB / 0.7423 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.538e-05/0.5867, allocations: 24 kB / 0.7423 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.5867, allocations: 12.56 kB / 0.7423 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009467/0.5877, allocations: 0.54 MB / 0.7428 GB, free: 6.539 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.004343/0.592, allocations: 4.604 MB / 0.7473 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007653/0.5928, allocations: 443 kB / 0.7477 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.011e-05/0.5929, allocations: 11.98 kB / 0.7478 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005212/0.5934, allocations: 312.8 kB / 0.7481 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.853e-06/0.5934, allocations: 0 / 0.7481 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.003954/0.5974, allocations: 1.327 MB / 0.7493 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.5975, allocations: 118.6 kB / 0.7495 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.5988, allocations: 1.118 MB / 0.7506 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.417e-05/0.5989, allocations: 33.7 kB / 0.7506 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004029/0.5993, allocations: 492.1 kB / 0.7511 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.502e-05/0.5994, allocations: 110.5 kB / 0.7512 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/0.5995, allocations: 12 kB / 0.7512 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.5996, allocations: 325.9 kB / 0.7515 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003523/0.5999, allocations: 192.7 kB / 0.7517 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005557/0.6005, allocations: 0.494 MB / 0.7521 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004299/0.6009, allocations: 288.5 kB / 0.7524 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.6009, allocations: 0 / 0.7524 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002177/0.6031, allocations: 0.9945 MB / 0.7534 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000772/0.6039, allocations: 2.121 MB / 0.7555 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.6039, allocations: 8 kB / 0.7555 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001371/0.6053, allocations: 348.9 kB / 0.7558 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.6056, allocations: 63.91 kB / 0.7559 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009649/0.6065, allocations: 1.007 MB / 0.7568 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007793/0.6073, allocations: 116.6 kB / 0.757 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-05/0.6074, allocations: 24 kB / 0.757 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/0.6074, allocations: 8 kB / 0.757 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001369/0.6088, allocations: 0.7355 MB / 0.7577 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.6088, allocations: 8.562 kB / 0.7577 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005305/0.6094, allocations: 213.3 kB / 0.7579 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.6096, allocations: 71.83 kB / 0.758 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003755/0.6133, allocations: 3.172 MB / 0.7611 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008451/0.6142, allocations: 95.67 kB / 0.7612 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.6143, allocations: 24 kB / 0.7612 GB, free: 3.129 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 (34): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007013/0.615, allocations: 472.7 kB / 0.7617 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.6151, allocations: 103.5 kB / 0.7618 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.6164, allocations: 0.6977 MB / 0.7624 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.6164, allocations: 7.984 kB / 0.7624 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.6164, allocations: 0 / 0.7624 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.6164, allocations: 4 kB / 0.7624 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.6179, allocations: 1.095 MB / 0.7635 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.6179, allocations: 11.92 kB / 0.7635 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.6181, allocations: 20.86 kB / 0.7635 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000448/0.6185, allocations: 228.7 kB / 0.7638 GB, free: 412 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.6185, allocations: 8 kB / 0.7638 GB, free: 404 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000853/0.6194, allocations: 0.9786 MB / 0.7647 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.6194, allocations: 3.953 kB / 0.7647 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.6206, allocations: 0.8638 MB / 0.7656 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003434/0.621, allocations: 227.7 kB / 0.7658 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.6211, allocations: 9.375 kB / 0.7658 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000502/0.6216, allocations: 59.8 kB / 0.7659 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.804e-05/0.6217, allocations: 27.95 kB / 0.7659 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.6217, allocations: 16 kB / 0.7659 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009734/0.6227, allocations: 0.7877 MB / 0.7667 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6227, allocations: 0 / 0.7667 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0012/0.6239, allocations: 451.4 kB / 0.7671 GB, free: 12.85 MB / 0.5919 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 (12): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003702/0.6243, allocations: 175.2 kB / 0.7673 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001787/0.6261, allocations: 1.055 MB / 0.7683 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6261, allocations: 0 / 0.7683 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004957/0.6266, allocations: 232.9 kB / 0.7685 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/0.6285, allocations: 462.6 kB / 0.769 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.6312, allocations: 1.983 MB / 0.7709 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000709/0.6319, allocations: 1.204 MB / 0.7721 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008528/0.6328, allocations: 323.6 kB / 0.7724 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.6329, allocations: 63.42 kB / 0.7724 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.6329, allocations: 0 / 0.7724 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of Templates: time 0.0288/0.6617, allocations: 18.43 MB / 0.7904 GB, free: 5.086 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) Environment - environmentSimulation: