Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001193/0.001193, allocations: 96.34 kB / 15.68 MB, free: 488 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.001982/0.001982, allocations: 174.3 kB / 16.57 MB, free: 6.391 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.322/1.322, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6724/0.6724, allocations: 113.8 MB / 405.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003182/0.0003182, allocations: 17.14 kB / 493.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1304, allocations: 77.15 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.4008/0.5312, allocations: 135.7 MB / 0.6894 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002926/0.5341, allocations: 1.669 MB / 0.691 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003612/0.5345, allocations: 7.938 kB / 0.691 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006127/0.5352, allocations: 179.2 kB / 0.6912 GB, free: 464 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.5366, allocations: 0.5024 MB / 0.6916 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.5377, allocations: 413.8 kB / 0.692 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001855/0.5396, allocations: 1.494 MB / 0.6935 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009535/0.5406, allocations: 0.6956 MB / 0.6942 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.5418, allocations: 0.6968 MB / 0.6949 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005748/0.5424, allocations: 493.9 kB / 0.6953 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.025e-05/0.5425, allocations: 32 kB / 0.6954 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009531/0.5434, allocations: 415.4 kB / 0.6958 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002512/0.5437, allocations: 259.1 kB / 0.696 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002326/0.5439, allocations: 233.1 kB / 0.6962 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009683/0.5449, allocations: 0.9725 MB / 0.6972 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5449, allocations: 3.938 kB / 0.6972 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.865e-06/0.5449, allocations: 0 / 0.6972 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.5449, allocations: 0 / 0.6972 GB, free: 10.27 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.002136/0.5471, allocations: 1.284 MB / 0.6984 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.5471, allocations: 8.031 kB / 0.6984 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000739/0.5479, allocations: 182.5 kB / 0.6986 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.5493, allocations: 0.8001 MB / 0.6994 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/0.5494, allocations: 41 kB / 0.6994 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.073e-05/0.5495, allocations: 56 kB / 0.6995 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.5506, allocations: 0.7964 MB / 0.7003 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.5506, allocations: 0 / 0.7003 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.471e-05/0.5506, allocations: 27.95 kB / 0.7003 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.5507, allocations: 15.94 kB / 0.7003 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008826/0.5516, allocations: 0.5462 MB / 0.7008 GB, free: 6.332 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.003948/0.5555, allocations: 4.599 MB / 0.7053 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007024/0.5562, allocations: 445.7 kB / 0.7058 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.685e-05/0.5563, allocations: 8 kB / 0.7058 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004768/0.5568, allocations: 302.2 kB / 0.7061 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=31): time 2.485e-06/0.5568, allocations: 3.938 kB / 0.7061 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31): time 0.001339/0.5581, allocations: 0.6489 MB / 0.7067 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.5582, allocations: 110.8 kB / 0.7068 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.5595, allocations: 1.11 MB / 0.7079 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.001e-05/0.5595, allocations: 41.7 kB / 0.7079 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004216/0.56, allocations: 492.2 kB / 0.7084 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.5601, allocations: 110.5 kB / 0.7085 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/0.5601, allocations: 8.219 kB / 0.7085 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.5602, allocations: 330 kB / 0.7088 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003337/0.5606, allocations: 188.7 kB / 0.709 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005536/0.5611, allocations: 0.4901 MB / 0.7095 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004267/0.5616, allocations: 307.9 kB / 0.7098 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.5616, allocations: 0 / 0.7098 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001055/0.5627, allocations: 0.6707 MB / 0.7104 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007862/0.5635, allocations: 2.13 MB / 0.7125 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.5635, allocations: 4 kB / 0.7125 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.5635, allocations: 8 kB / 0.7125 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004389/0.5639, allocations: 119.8 kB / 0.7126 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.564, allocations: 11.94 kB / 0.7126 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007479/0.5647, allocations: 115.2 kB / 0.7128 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.164e-05/0.5648, allocations: 24 kB / 0.7128 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/0.5648, allocations: 4 kB / 0.7128 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008288/0.5656, allocations: 0.5404 MB / 0.7133 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.5657, allocations: 8 kB / 0.7133 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.5657, allocations: 8 kB / 0.7133 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.566, allocations: 103.8 kB / 0.7134 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.566, allocations: 15.92 kB / 0.7134 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006359/0.5667, allocations: 95.72 kB / 0.7135 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.5667, allocations: 27.98 kB / 0.7136 GB, free: 8.508 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): 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.0004854/0.5672, allocations: 466.4 kB / 0.714 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.5674, allocations: 102.7 kB / 0.7141 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007982/0.5682, allocations: 483 kB / 0.7146 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.5682, allocations: 4 kB / 0.7146 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.5682, allocations: 4 kB / 0.7146 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.5682, allocations: 0 / 0.7146 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.5696, allocations: 1.099 MB / 0.7156 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.5697, allocations: 0 / 0.7156 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.5699, allocations: 67.89 kB / 0.7157 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.5699, allocations: 4 kB / 0.7157 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.57, allocations: 8 kB / 0.7157 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.57, allocations: 8.156 kB / 0.7157 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.57, allocations: 8 kB / 0.7157 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007811/0.5708, allocations: 0.6368 MB / 0.7164 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003233/0.5711, allocations: 219.7 kB / 0.7166 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.5712, allocations: 8 kB / 0.7166 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004699/0.5717, allocations: 67.72 kB / 0.7166 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.441e-05/0.5718, allocations: 32.09 kB / 0.7167 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.5718, allocations: 12 kB / 0.7167 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008916/0.5727, allocations: 0.7875 MB / 0.7174 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5727, allocations: 4 kB / 0.7175 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001024/0.5738, allocations: 403.4 kB / 0.7178 GB, free: 3.922 MB / 0.5294 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.0003914/0.5742, allocations: 181.1 kB / 0.718 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.5754, allocations: 0.7971 MB / 0.7188 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5754, allocations: 0 / 0.7188 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.5758, allocations: 207.7 kB / 0.719 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/0.5776, allocations: 450.6 kB / 0.7194 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.5803, allocations: 1.958 MB / 0.7213 GB, free: 288 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006678/0.581, allocations: 1.197 MB / 0.7225 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001023/0.582, allocations: 419.5 kB / 0.7229 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.5822, allocations: 79.42 kB / 0.723 GB, free: 14.56 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.5822, allocations: 0 / 0.723 GB, free: 14.56 MB / 0.545 GB Notification: Performance of Templates: time 0.02655/0.6087, allocations: 15.97 MB / 0.7386 GB, free: 14.79 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)