Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 99.05 kB / 16.02 MB, free: 80 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.001656/0.001656, allocations: 182.3 kB / 16.92 MB, free: 6.754 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.406/1.406, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7407/0.7407, allocations: 115.5 MB / 407.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003217, allocations: 12 kB / 495.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1704, allocations: 77.52 MB / 0.5599 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.4653/0.6357, allocations: 163.3 MB / 0.7195 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005724/0.6415, allocations: 4.032 MB / 0.7234 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000445/0.642, allocations: 11.88 kB / 0.7234 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000728/0.6427, allocations: 198.9 kB / 0.7236 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001742/0.6445, allocations: 0.6458 MB / 0.7242 GB, free: 14.56 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.6458, allocations: 431.3 kB / 0.7246 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003987/0.6498, allocations: 3.803 MB / 0.7284 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003181/0.653, allocations: 2.366 MB / 0.7307 GB, free: 7.961 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002618/0.6556, allocations: 1.12 MB / 0.7318 GB, free: 6.836 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001714/0.6574, allocations: 0.8635 MB / 0.7326 GB, free: 5.969 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002596/0.6576, allocations: 52 kB / 0.7327 GB, free: 5.918 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002165/0.6598, allocations: 0.8964 MB / 0.7335 GB, free: 5.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005907/0.6604, allocations: 322.8 kB / 0.7338 GB, free: 4.703 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001344/0.6618, allocations: 0.6079 MB / 0.7344 GB, free: 4.086 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002963/0.6648, allocations: 1.581 MB / 0.736 GB, free: 2.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.6648, allocations: 0 / 0.736 GB, free: 2.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.867e-06/0.6648, allocations: 0 / 0.736 GB, free: 2.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.065e-05/0.6649, allocations: 0 / 0.736 GB, free: 2.5 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.003679/0.6686, allocations: 1.484 MB / 0.7374 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.6686, allocations: 12.03 kB / 0.7374 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009944/0.6696, allocations: 198.3 kB / 0.7376 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001905/0.6715, allocations: 0.8774 MB / 0.7385 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.496e-05/0.6716, allocations: 49.3 kB / 0.7385 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.6718, allocations: 64 kB / 0.7386 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.6735, allocations: 0.9909 MB / 0.7396 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.6735, allocations: 0 / 0.7396 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.365e-05/0.6736, allocations: 24 kB / 0.7396 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.6736, allocations: 20 kB / 0.7396 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.6751, allocations: 0.8038 MB / 0.7404 GB, free: 13.79 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.00535/0.6804, allocations: 4.816 MB / 0.7451 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002556/0.683, allocations: 4.014 MB / 0.749 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005376/0.6836, allocations: 349.2 kB / 0.7493 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002935/0.6839, allocations: 194.5 kB / 0.7495 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005558/0.6844, allocations: 341 kB / 0.7498 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003682/0.6848, allocations: 27.69 kB / 0.7499 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.625e-06/0.6848, allocations: 0 / 0.7499 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.005586/0.6904, allocations: 1.773 MB / 0.7516 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.6905, allocations: 85.11 kB / 0.7517 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/0.6923, allocations: 1.181 MB / 0.7528 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.543e-05/0.6924, allocations: 33.7 kB / 0.7529 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005131/0.6929, allocations: 0.5161 MB / 0.7534 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.6931, allocations: 126.2 kB / 0.7535 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.764e-05/0.6932, allocations: 45.7 kB / 0.7535 GB, free: 15 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.6933, allocations: 329.9 kB / 0.7539 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004591/0.6938, allocations: 240.9 kB / 0.7541 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007475/0.6946, allocations: 0.5605 MB / 0.7546 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.6956, allocations: 0.702 MB / 0.7553 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.443e-06/0.6957, allocations: 4 kB / 0.7553 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002513/0.6982, allocations: 1.15 MB / 0.7564 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001978/0.6984, allocations: 275.1 kB / 0.7567 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.6984, allocations: 7.938 kB / 0.7567 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/0.6998, allocations: 394 kB / 0.7571 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.7001, allocations: 71.89 kB / 0.7572 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.7013, allocations: 1.059 MB / 0.7582 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.7024, allocations: 99.86 kB / 0.7583 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.482e-05/0.7025, allocations: 24 kB / 0.7583 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.7025, allocations: 4 kB / 0.7583 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001513/0.704, allocations: 0.81 MB / 0.7591 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.704, allocations: 11.94 kB / 0.7591 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006127/0.7046, allocations: 252.8 kB / 0.7594 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.705, allocations: 71.89 kB / 0.7594 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003833/0.7088, allocations: 3.099 MB / 0.7625 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009878/0.7098, allocations: 95.81 kB / 0.7625 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.108e-05/0.7099, allocations: 27.98 kB / 0.7626 GB, free: 5.262 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0006063/0.7105, allocations: 488.5 kB / 0.763 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.7107, allocations: 106.7 kB / 0.7631 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.7122, allocations: 0.8203 MB / 0.7639 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.7123, allocations: 4 kB / 0.7639 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.7123, allocations: 0 / 0.7639 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.7123, allocations: 0 / 0.7639 GB, free: 3.832 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 postOpt removeSimpleEquations (simulation): time 0.003216/0.7155, allocations: 2.164 MB / 0.7661 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.7155, allocations: 4 kB / 0.7661 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002743/0.7158, allocations: 52.11 kB / 0.7661 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004858/0.7163, allocations: 216.6 kB / 0.7663 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/0.7163, allocations: 11.94 kB / 0.7663 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007844/0.7171, allocations: 0.8801 MB / 0.7672 GB, free: 348 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.7171, allocations: 0 / 0.7672 GB, free: 348 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.7185, allocations: 0.8867 MB / 0.7681 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004549/0.719, allocations: 243.6 kB / 0.7683 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.7192, allocations: 8 kB / 0.7683 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007196/0.7199, allocations: 75.78 kB / 0.7684 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.147e-05/0.72, allocations: 31.97 kB / 0.7684 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.72, allocations: 16 kB / 0.7684 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001202/0.7212, allocations: 0.8367 MB / 0.7692 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7213, allocations: 3.938 kB / 0.7692 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001607/0.7229, allocations: 0.5032 MB / 0.7697 GB, free: 13.68 MB / 0.5919 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004943/0.7234, allocations: 184.8 kB / 0.7699 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002141/0.7255, allocations: 1.159 MB / 0.771 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.7255, allocations: 0 / 0.771 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005276/0.7261, allocations: 268.9 kB / 0.7713 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00371/0.7298, allocations: 0.6434 MB / 0.7719 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0031/0.7329, allocations: 2.203 MB / 0.7741 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000787/0.7337, allocations: 1.213 MB / 0.7753 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001094/0.7348, allocations: 372.6 kB / 0.7756 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.735, allocations: 71.44 kB / 0.7757 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of SimCode: time 9.32e-07/0.735, allocations: 4 kB / 0.7757 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of Templates: time 0.04008/0.7751, allocations: 21.68 MB / 0.7968 GB, free: 2.078 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)