Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009277/0.0009277, allocations: 96.73 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009999/0.0009997, allocations: 175.6 kB / 16.57 MB, free: 6.398 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.265/1.265, allocations: 223.2 MB / 240.5 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6588/0.6588, allocations: 113.8 MB / 405.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004873/0.0004873, allocations: 12 kB / 493.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1516, allocations: 77.14 MB / 0.5568 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.4053/0.5569, allocations: 135.7 MB / 0.6893 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002873/0.5598, allocations: 1.68 MB / 0.691 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000368/0.5602, allocations: 7.938 kB / 0.691 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000678/0.5609, allocations: 179.2 kB / 0.6912 GB, free: 408 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.5624, allocations: 0.5024 MB / 0.6917 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.5637, allocations: 403.7 kB / 0.692 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002142/0.5659, allocations: 1.497 MB / 0.6935 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.567, allocations: 0.6957 MB / 0.6942 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.5683, allocations: 0.6929 MB / 0.6949 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007583/0.569, allocations: 493.9 kB / 0.6953 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.5692, allocations: 36 kB / 0.6954 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.5703, allocations: 423.3 kB / 0.6958 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003142/0.5706, allocations: 259.1 kB / 0.696 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003692/0.571, allocations: 229.1 kB / 0.6962 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.5721, allocations: 0.9707 MB / 0.6972 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.5722, allocations: 0 / 0.6972 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5722, allocations: 0 / 0.6972 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.431e-05/0.5722, allocations: 0 / 0.6972 GB, free: 10.22 MB / 0.5137 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.002256/0.5745, allocations: 1.28 MB / 0.6984 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.5745, allocations: 8.031 kB / 0.6984 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007721/0.5753, allocations: 190.5 kB / 0.6986 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.5767, allocations: 0.7885 MB / 0.6994 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.382e-05/0.5768, allocations: 44.98 kB / 0.6994 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.273e-05/0.5769, allocations: 60 kB / 0.6995 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.578, allocations: 0.7964 MB / 0.7003 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.578, allocations: 4 kB / 0.7003 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-05/0.5781, allocations: 27.95 kB / 0.7003 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.5781, allocations: 16 kB / 0.7003 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008987/0.579, allocations: 0.5422 MB / 0.7008 GB, free: 6.281 MB / 0.5137 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.003816/0.5828, allocations: 4.599 MB / 0.7053 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007113/0.5836, allocations: 443.9 kB / 0.7058 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.498e-05/0.5836, allocations: 19.95 kB / 0.7058 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004684/0.5841, allocations: 306.1 kB / 0.7061 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=31): time 2.104e-06/0.5841, allocations: 0 / 0.7061 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31): time 0.001307/0.5854, allocations: 0.6461 MB / 0.7067 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.5855, allocations: 106.8 kB / 0.7068 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.5867, allocations: 1.11 MB / 0.7079 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/0.5868, allocations: 37.92 kB / 0.7079 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003581/0.5871, allocations: 492.1 kB / 0.7084 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.204e-05/0.5872, allocations: 122.3 kB / 0.7085 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.5873, allocations: 8 kB / 0.7085 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.381e-05/0.5874, allocations: 322 kB / 0.7088 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003331/0.5877, allocations: 184.7 kB / 0.709 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005327/0.5882, allocations: 0.4997 MB / 0.7095 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004178/0.5887, allocations: 296 kB / 0.7098 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.5887, allocations: 0 / 0.7098 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001061/0.5898, allocations: 0.6829 MB / 0.7104 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006522/0.5904, allocations: 2.121 MB / 0.7125 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.5904, allocations: 4 kB / 0.7125 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.5905, allocations: 16 kB / 0.7125 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001924/0.5924, allocations: 383.4 kB / 0.7129 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003024/0.5954, allocations: 6.099 MB / 0.7188 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009581/0.5964, allocations: 103.6 kB / 0.7189 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.526e-05/0.5965, allocations: 19.98 kB / 0.719 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.5965, allocations: 4 kB / 0.719 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009521/0.5974, allocations: 0.5437 MB / 0.7195 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.5975, allocations: 4.656 kB / 0.7195 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.5975, allocations: 12 kB / 0.7195 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005645/0.5981, allocations: 159.8 kB / 0.7197 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.5981, allocations: 8 kB / 0.7197 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006657/0.5988, allocations: 107.4 kB / 0.7198 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/0.5988, allocations: 24 kB / 0.7198 GB, free: 1.828 MB / 0.5294 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): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005169/0.5993, allocations: 474.9 kB / 0.7203 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.5994, allocations: 95.34 kB / 0.7203 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007941/0.6002, allocations: 486.4 kB / 0.7208 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.6003, allocations: 4 kB / 0.7208 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.6003, allocations: 0 / 0.7208 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.6003, allocations: 11.92 kB / 0.7208 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/0.6017, allocations: 1.098 MB / 0.7219 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.6017, allocations: 4 kB / 0.7219 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006203/0.6024, allocations: 151.8 kB / 0.722 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.6024, allocations: 4 kB / 0.722 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.6024, allocations: 8.219 kB / 0.7221 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002498/0.6049, allocations: 6.028 MB / 0.7279 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.6049, allocations: 4 kB / 0.7279 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008766/0.6058, allocations: 0.6369 MB / 0.7286 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003615/0.6062, allocations: 215.8 kB / 0.7288 GB, free: 8.207 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.6063, allocations: 8 kB / 0.7288 GB, free: 8.199 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/0.6068, allocations: 51.94 kB / 0.7288 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.936e-05/0.6069, allocations: 31.92 kB / 0.7289 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.6069, allocations: 19.98 kB / 0.7289 GB, free: 8.098 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009039/0.6078, allocations: 0.7797 MB / 0.7296 GB, free: 7.309 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6078, allocations: 3.938 kB / 0.7296 GB, free: 7.305 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00104/0.6089, allocations: 415.4 kB / 0.73 GB, free: 6.898 MB / 0.545 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): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003484/0.6092, allocations: 172.4 kB / 0.7302 GB, free: 6.734 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003005/0.6122, allocations: 1.112 MB / 0.7313 GB, free: 5.602 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.6122, allocations: 4 kB / 0.7313 GB, free: 5.598 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007838/0.613, allocations: 296.2 kB / 0.7316 GB, free: 5.309 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/0.6149, allocations: 453.7 kB / 0.732 GB, free: 4.871 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.6174, allocations: 2.013 MB / 0.734 GB, free: 2.812 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006315/0.6181, allocations: 1.204 MB / 0.7352 GB, free: 1.578 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008874/0.619, allocations: 375.5 kB / 0.7355 GB, free: 1.207 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.6191, allocations: 63.44 kB / 0.7356 GB, free: 1.145 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.6191, allocations: 0 / 0.7356 GB, free: 1.145 MB / 0.545 GB Notification: Performance of Templates: time 0.02531/0.6445, allocations: 16.73 MB / 0.7519 GB, free: 0.5898 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)