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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7521/0.7521, allocations: 127.3 MB / 139.8 MB, free: 15.42 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00155/0.001551, allocations: 184.9 kB / 169.7 MB, free: 1.719 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.049/2.049, allocations: 205.1 MB / 404.5 MB, free: 1.625 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001357/0.001357, allocations: 90.16 kB / 481.8 MB, free: 4.277 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.373e-05/3.375e-05, allocations: 0 / 0.5532 GB, free: 54.83 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1726, allocations: 76.76 MB / 0.6282 GB, free: 10.01 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.904/6.077, allocations: 2.142 GB / 2.77 GB, free: 139 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/6.077, allocations: 90.81 kB / 2.77 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.634/12.71, allocations: 1.772 GB / 4.542 GB, free: 118.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.272e-06/12.71, allocations: 0 / 4.542 GB, free: 118.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001011/12.71, allocations: 31.98 kB / 4.542 GB, free: 118.2 MB / 0.6511 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.001736/12.71, allocations: 1.152 MB / 4.543 GB, free: 117 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/12.71, allocations: 8.031 kB / 4.543 GB, free: 117 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007519/12.71, allocations: 186.5 kB / 4.543 GB, free: 116.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002133/12.72, allocations: 1.112 MB / 4.544 GB, free: 115.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/12.72, allocations: 56.92 kB / 4.544 GB, free: 115.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.237e-05/12.72, allocations: 56 kB / 4.544 GB, free: 115.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003513/12.72, allocations: 1.139 MB / 4.545 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/12.72, allocations: 4 kB / 4.545 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.67e-05/12.72, allocations: 20 kB / 4.545 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/12.72, allocations: 12 kB / 4.545 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002564/12.72, allocations: 0.8856 MB / 4.546 GB, free: 113.4 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.004025/12.73, allocations: 4.427 MB / 4.551 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002456/12.73, allocations: 0.8183 MB / 4.551 GB, free: 107.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/12.73, allocations: 214.4 kB / 4.552 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002475/12.73, allocations: 198.2 kB / 4.552 GB, free: 107.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002344/12.73, allocations: 0.6842 MB / 4.553 GB, free: 106.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 2.014e-06/12.73, allocations: 3.938 kB / 4.553 GB, free: 106.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.01098/12.74, allocations: 2.603 MB / 4.555 GB, free: 104 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/12.74, allocations: 81.11 kB / 4.555 GB, free: 103.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/12.74, allocations: 0.9685 MB / 4.556 GB, free: 102.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001261/12.74, allocations: 37.7 kB / 4.556 GB, free: 102.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/12.75, allocations: 0.494 MB / 4.557 GB, free: 102.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/12.75, allocations: 110.6 kB / 4.557 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/12.75, allocations: 8 kB / 4.557 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.169e-05/12.75, allocations: 322 kB / 4.557 GB, free: 101.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/12.75, allocations: 284.6 kB / 4.557 GB, free: 101.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005271/12.75, allocations: 0.5936 MB / 4.558 GB, free: 100.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004359/12.75, allocations: 363.2 kB / 4.558 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/12.75, allocations: 3.938 kB / 4.558 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.007615/12.75, allocations: 2.18 MB / 4.56 GB, free: 98.34 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004645/12.75, allocations: 2.044 MB / 4.562 GB, free: 96.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/12.75, allocations: 4 kB / 4.562 GB, free: 96.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008391/12.76, allocations: 0.5317 MB / 4.563 GB, free: 95.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/12.76, allocations: 63.84 kB / 4.563 GB, free: 95.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/12.76, allocations: 1.391 MB / 4.564 GB, free: 94.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/12.76, allocations: 175.4 kB / 4.564 GB, free: 93.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.956e-05/12.76, allocations: 27.98 kB / 4.564 GB, free: 93.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/12.76, allocations: 4 kB / 4.564 GB, free: 93.92 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001025/12.76, allocations: 0.6742 MB / 4.565 GB, free: 93.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/12.76, allocations: 8 kB / 4.565 GB, free: 93.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004368/12.76, allocations: 206.3 kB / 4.565 GB, free: 93.03 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/12.76, allocations: 63.84 kB / 4.565 GB, free: 92.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002989/12.76, allocations: 3.075 MB / 4.568 GB, free: 89.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009123/12.76, allocations: 99.61 kB / 4.569 GB, free: 89.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.571e-05/12.76, allocations: 27.94 kB / 4.569 GB, free: 89.61 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * 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.0001944/12.76, allocations: 136.9 kB / 4.569 GB, free: 89.47 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/12.76, allocations: 102.7 kB / 4.569 GB, free: 89.37 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002695/12.77, allocations: 109.7 kB / 4.569 GB, free: 89.26 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/12.77, allocations: 4 kB / 4.569 GB, free: 89.26 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/12.77, allocations: 0 / 4.569 GB, free: 89.26 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/12.77, allocations: 8 kB / 4.569 GB, free: 89.25 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008908/12.77, allocations: 3.023 MB / 4.572 GB, free: 86.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/12.77, allocations: 4.188 kB / 4.572 GB, free: 86.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/12.77, allocations: 27.92 kB / 4.572 GB, free: 86.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007256/12.77, allocations: 0.5159 MB / 4.572 GB, free: 85.59 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.023e-05/12.78, allocations: 15.98 kB / 4.572 GB, free: 85.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01414/12.79, allocations: 7.02 MB / 4.579 GB, free: 78.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/12.79, allocations: 0 / 4.579 GB, free: 78.41 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007671/12.8, allocations: 2.188 MB / 4.581 GB, free: 76.15 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005364/12.8, allocations: 171.9 kB / 4.582 GB, free: 75.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002934/12.8, allocations: 11.94 kB / 4.582 GB, free: 75.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/12.8, allocations: 131.7 kB / 4.582 GB, free: 75.82 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002549/12.8, allocations: 39.94 kB / 4.582 GB, free: 75.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.151e-05/12.8, allocations: 15.98 kB / 4.582 GB, free: 75.77 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001176/12.8, allocations: 0.7727 MB / 4.582 GB, free: 74.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/12.8, allocations: 0 / 4.582 GB, free: 74.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00226/12.8, allocations: 0.5816 MB / 4.583 GB, free: 74.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * 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.001479/12.8, allocations: 0.9718 MB / 4.584 GB, free: 73.44 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001921/12.81, allocations: 1.253 MB / 4.585 GB, free: 72.15 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/12.81, allocations: 4 kB / 4.585 GB, free: 72.14 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007883/12.81, allocations: 0.5244 MB / 4.586 GB, free: 71.61 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/12.81, allocations: 468.9 kB / 4.586 GB, free: 71.15 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/12.81, allocations: 1.507 MB / 4.588 GB, free: 69.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006723/12.81, allocations: 1.21 MB / 4.589 GB, free: 68.36 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002421/12.82, allocations: 0.6869 MB / 4.59 GB, free: 67.67 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.459e-05/12.82, allocations: 39.44 kB / 4.59 GB, free: 67.63 MB / 0.6511 GB Notification: Performance of SimCode: time 1.153e-06/12.82, allocations: 0 / 4.59 GB, free: 67.63 MB / 0.6511 GB Notification: Performance of Templates: time 0.06942/12.89, allocations: 43.14 MB / 4.632 GB, free: 24.55 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (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)