Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, 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.001548/0.001548, 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.31/1.31, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9417/0.9417, allocations: 143.3 MB / 434.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003332, allocations: 16 kB / 0.5158 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1598, allocations: 83.41 MB / 0.5973 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.4217/0.5816, allocations: 140.5 MB / 0.7345 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00402/0.5856, allocations: 2.171 MB / 0.7366 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000388/0.586, allocations: 13.62 kB / 0.7366 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000817/0.5869, allocations: 234 kB / 0.7368 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002064/0.5889, allocations: 0.6956 MB / 0.7375 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.5904, allocations: 453 kB / 0.738 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002396/0.5928, allocations: 1.636 MB / 0.7396 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003264/0.596, allocations: 2.313 MB / 0.7418 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002139/0.5982, allocations: 0.8494 MB / 0.7426 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009785/0.5992, allocations: 0.6076 MB / 0.7432 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.5993, allocations: 48 kB / 0.7433 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.6008, allocations: 0.6303 MB / 0.7439 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003514/0.6012, allocations: 302.9 kB / 0.7442 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003096/0.6015, allocations: 252.4 kB / 0.7444 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.6028, allocations: 1.208 MB / 0.7456 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.6028, allocations: 4 kB / 0.7456 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6029, allocations: 0 / 0.7456 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.788e-05/0.6029, allocations: 4 kB / 0.7456 GB, free: 4.223 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002563/0.6055, allocations: 1.518 MB / 0.7471 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.6055, allocations: 8.031 kB / 0.7471 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008137/0.6063, allocations: 207.3 kB / 0.7473 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/0.608, allocations: 0.86 MB / 0.7481 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.119e-05/0.6081, allocations: 53.3 kB / 0.7482 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.6082, allocations: 64 kB / 0.7483 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.6096, allocations: 0.9909 MB / 0.7492 GB, free: 348 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.6096, allocations: 0 / 0.7492 GB, free: 348 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.414e-05/0.6097, allocations: 24 kB / 0.7492 GB, free: 324 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.6097, allocations: 16 kB / 0.7493 GB, free: 308 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.611, allocations: 0.8038 MB / 0.75 GB, free: 15.5 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.004623/0.6156, allocations: 4.811 MB / 0.7547 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002405/0.6181, allocations: 4.032 MB / 0.7587 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.949e-05/0.6182, allocations: 12.27 kB / 0.7587 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005242/0.6187, allocations: 340.5 kB / 0.759 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003033/0.619, allocations: 35.59 kB / 0.7591 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 3.166e-06/0.619, allocations: 3.984 kB / 0.7591 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.004484/0.6235, allocations: 1.592 MB / 0.7606 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.6236, allocations: 110.8 kB / 0.7607 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.6249, allocations: 1.177 MB / 0.7619 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/0.625, allocations: 45.64 kB / 0.7619 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004004/0.6254, allocations: 0.5083 MB / 0.7624 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.6255, allocations: 122.3 kB / 0.7625 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.6256, allocations: 12 kB / 0.7625 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.854e-05/0.6257, allocations: 322 kB / 0.7628 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/0.626, allocations: 205 kB / 0.763 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005797/0.6266, allocations: 0.5448 MB / 0.7636 GB, free: 264 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005454/0.6272, allocations: 313.5 kB / 0.7639 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.6272, allocations: 0 / 0.7639 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002069/0.6293, allocations: 1.046 MB / 0.7649 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007571/0.63, allocations: 2.142 MB / 0.767 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.6301, allocations: 4 kB / 0.767 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.6313, allocations: 340.8 kB / 0.7673 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.6317, allocations: 103.9 kB / 0.7674 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009302/0.6326, allocations: 1.01 MB / 0.7684 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008932/0.6335, allocations: 100.7 kB / 0.7685 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.773e-05/0.6336, allocations: 24 kB / 0.7685 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.584e-06/0.6336, allocations: 4 kB / 0.7685 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001333/0.6349, allocations: 0.7874 MB / 0.7693 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.635, allocations: 8 kB / 0.7693 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005205/0.6355, allocations: 234.5 kB / 0.7695 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003736/0.6359, allocations: 103.9 kB / 0.7696 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003401/0.6393, allocations: 3.001 MB / 0.7725 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008916/0.6402, allocations: 99.8 kB / 0.7726 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.073e-05/0.6403, allocations: 23.94 kB / 0.7727 GB, free: 6.582 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 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * 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.0005713/0.6408, allocations: 486.1 kB / 0.7731 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.641, allocations: 110.7 kB / 0.7732 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.6423, allocations: 0.7697 MB / 0.774 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.6423, allocations: 4 kB / 0.774 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6423, allocations: 3.953 kB / 0.774 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-06/0.6423, allocations: 0 / 0.774 GB, free: 5.199 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 postOpt removeSimpleEquations (simulation): time 0.002854/0.6452, allocations: 2.197 MB / 0.7761 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.6452, allocations: 4 kB / 0.7761 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000321/0.6455, allocations: 88.08 kB / 0.7762 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003842/0.6459, allocations: 172.6 kB / 0.7764 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.6459, allocations: 11.94 kB / 0.7764 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006885/0.6466, allocations: 0.8534 MB / 0.7772 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6467, allocations: 4.062 kB / 0.7772 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.6479, allocations: 0.9546 MB / 0.7782 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003883/0.6483, allocations: 239.7 kB / 0.7784 GB, free: 432 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.6484, allocations: 8 kB / 0.7784 GB, free: 424 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006786/0.6491, allocations: 75.77 kB / 0.7785 GB, free: 348 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.732e-05/0.6492, allocations: 39.89 kB / 0.7785 GB, free: 308 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.6492, allocations: 11.98 kB / 0.7785 GB, free: 296 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001034/0.6503, allocations: 0.8249 MB / 0.7793 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.244e-06/0.6503, allocations: 0 / 0.7793 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001331/0.6516, allocations: 0.5148 MB / 0.7798 GB, free: 14.94 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 (25): * Single equations (assignments): 22 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004106/0.652, allocations: 194.6 kB / 0.78 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001955/0.654, allocations: 1.13 MB / 0.7811 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.654, allocations: 192 / 0.7811 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004513/0.6545, allocations: 247.7 kB / 0.7814 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003087/0.6576, allocations: 0.6534 MB / 0.782 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/0.6603, allocations: 2.1 MB / 0.7841 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007414/0.6611, allocations: 1.225 MB / 0.7852 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001025/0.6621, allocations: 364.4 kB / 0.7856 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.6623, allocations: 75.31 kB / 0.7857 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of SimCode: time 8.52e-07/0.6623, allocations: 0 / 0.7857 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of Templates: time 0.03353/0.6958, allocations: 20.9 MB / 0.8061 GB, free: 4.27 MB / 0.6231 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1) Environment - environmentSimulation: