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.001079/0.001079, allocations: 109.1 kB / 17.03 MB, free: 5.699 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.00118/0.00118, allocations: 194.9 kB / 17.97 MB, free: 5.078 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.329/1.329, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7143/0.7143, allocations: 115.1 MB / 406.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.89 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3344, allocations: 76.15 MB / 0.5576 GB, free: 36.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1621/0.4965, allocations: 161.6 MB / 0.7154 GB, free: 2.445 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002976/0.4995, allocations: 1.762 MB / 0.7171 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002521/0.4998, allocations: 11.94 kB / 0.7171 GB, free: 0.668 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005533/0.5004, allocations: 162.9 kB / 0.7173 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.5016, allocations: 0.5173 MB / 0.7178 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.5027, allocations: 412.8 kB / 0.7182 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002494/0.5052, allocations: 2.524 MB / 0.7206 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.5063, allocations: 0.9255 MB / 0.7215 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001521/0.5078, allocations: 1.028 MB / 0.7225 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008398/0.5087, allocations: 0.7078 MB / 0.7232 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.5088, allocations: 56 kB / 0.7233 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.5101, allocations: 0.7406 MB / 0.724 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002899/0.5104, allocations: 306.9 kB / 0.7243 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005667/0.511, allocations: 0.544 MB / 0.7248 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001372/0.5123, allocations: 1.402 MB / 0.7262 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5124, allocations: 0 / 0.7262 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5124, allocations: 0 / 0.7262 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.5124, allocations: 0 / 0.7262 GB, free: 7.332 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002303/0.5147, allocations: 1.452 MB / 0.7276 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.5147, allocations: 8.031 kB / 0.7276 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007543/0.5155, allocations: 182.5 kB / 0.7278 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.5169, allocations: 0.8567 MB / 0.7286 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.841e-05/0.517, allocations: 45 kB / 0.7287 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.099e-05/0.517, allocations: 60 kB / 0.7287 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.5181, allocations: 0.7926 MB / 0.7295 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.5182, allocations: 3.938 kB / 0.7295 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.824e-05/0.5182, allocations: 24 kB / 0.7295 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.5182, allocations: 12 kB / 0.7295 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008943/0.5191, allocations: 0.5344 MB / 0.7301 GB, free: 3.172 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.00384/0.523, allocations: 4.591 MB / 0.7345 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006862/0.5237, allocations: 415.8 kB / 0.7349 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000365/0.5241, allocations: 240.7 kB / 0.7352 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002936/0.5244, allocations: 206.2 kB / 0.7354 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004527/0.5248, allocations: 281.1 kB / 0.7356 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.774e-06/0.5248, allocations: 3.938 kB / 0.7356 GB, free: 13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001275/0.5261, allocations: 0.6342 MB / 0.7363 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.5262, allocations: 81.33 kB / 0.7363 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.5274, allocations: 1.118 MB / 0.7374 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.5275, allocations: 37.64 kB / 0.7375 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003572/0.5278, allocations: 492.1 kB / 0.7379 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.298e-05/0.5279, allocations: 110.5 kB / 0.738 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.5281, allocations: 114 kB / 0.7381 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.5282, allocations: 329.9 kB / 0.7385 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00036/0.5286, allocations: 214.4 kB / 0.7387 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005639/0.5291, allocations: 0.5223 MB / 0.7392 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008112/0.53, allocations: 0.6328 MB / 0.7398 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.53, allocations: 0 / 0.7398 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001104/0.5311, allocations: 0.7216 MB / 0.7405 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.5311, allocations: 36.23 kB / 0.7405 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.5312, allocations: 8 kB / 0.7405 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.5312, allocations: 12 kB / 0.7405 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004093/0.5316, allocations: 111.8 kB / 0.7407 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.5316, allocations: 8 kB / 0.7407 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005334/0.5322, allocations: 71.48 kB / 0.7407 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-05/0.5322, allocations: 24 kB / 0.7408 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000612/0.5328, allocations: 0.5044 MB / 0.7412 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005048/0.5333, allocations: 493.9 kB / 0.7417 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000694/0.534, allocations: 0.5528 MB / 0.7423 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.374e-06/0.5341, allocations: 0 / 0.7423 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009884/0.5351, allocations: 0.642 MB / 0.7429 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.5351, allocations: 37.69 kB / 0.7429 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5351, allocations: 4.375 kB / 0.7429 GB, free: 5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.255e-06/0.5351, allocations: 8 kB / 0.7429 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000352/0.5355, allocations: 108.4 kB / 0.743 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.5355, allocations: 8 kB / 0.743 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005432/0.536, allocations: 64.06 kB / 0.7431 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.5361, allocations: 23.98 kB / 0.7431 GB, free: 4.793 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 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001548/0.5363, allocations: 228.9 kB / 0.7433 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.5364, allocations: 102.8 kB / 0.7434 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008441/0.5372, allocations: 0.4923 MB / 0.7439 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.5372, allocations: 4 kB / 0.7439 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5373, allocations: 0 / 0.7439 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.5373, allocations: 0 / 0.7439 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.5392, allocations: 1.386 MB / 0.7453 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.5392, allocations: 7.938 kB / 0.7453 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.5395, allocations: 59.89 kB / 0.7453 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.5395, allocations: 12.09 kB / 0.7454 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.5395, allocations: 12 kB / 0.7454 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.5395, allocations: 4 kB / 0.7454 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.5395, allocations: 7.938 kB / 0.7454 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007829/0.5403, allocations: 0.6021 MB / 0.746 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003311/0.5407, allocations: 215.8 kB / 0.7462 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.5408, allocations: 15.92 kB / 0.7462 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/0.5412, allocations: 19.98 kB / 0.7462 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.955e-05/0.5413, allocations: 35.95 kB / 0.7462 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.5413, allocations: 12 kB / 0.7463 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009467/0.5422, allocations: 0.7914 MB / 0.747 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5422, allocations: 0 / 0.747 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001019/0.5433, allocations: 403.4 kB / 0.7474 GB, free: 252 kB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003683/0.5436, allocations: 188.8 kB / 0.7476 GB, free: 68 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2288/0.7725, allocations: 0.8076 MB / 0.7484 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.7725, allocations: 1.156 kB / 0.7484 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004488/0.7729, allocations: 200.6 kB / 0.7486 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/0.7751, allocations: 453.6 kB / 0.749 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.7779, allocations: 1.723 MB / 0.7507 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007242/0.7787, allocations: 1.177 MB / 0.7518 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001219/0.7799, allocations: 412.3 kB / 0.7522 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/0.7801, allocations: 78.39 kB / 0.7523 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of SimCode: time 6.61e-07/0.7801, allocations: 0 / 0.7523 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.03326/0.8134, allocations: 17.06 MB / 0.769 GB, free: 169.3 MB / 0.5762 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)