Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001392/0.001394, allocations: 185.9 kB / 15.77 MB, free: 6.352 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.657/0.657, allocations: 82.93 MB / 99.43 MB, free: 2.246 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.4 MB / 325.4 MB, free: 6.543 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001562/0.001561, allocations: 86.11 kB / 393.6 MB, free: 11.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.000465, allocations: 16 kB / 471.6 MB, free: 13.33 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4003, allocations: 67.43 MB / 0.5263 GB, free: 55.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.2087/0.609, allocations: 135.7 MB / 0.6589 GB, free: 10.84 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003871/0.6129, allocations: 1.661 MB / 0.6605 GB, free: 9.18 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003744/0.6134, allocations: 11.94 kB / 0.6605 GB, free: 9.168 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007555/0.6141, allocations: 183.1 kB / 0.6607 GB, free: 8.988 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.616, allocations: 498.5 kB / 0.6612 GB, free: 8.5 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.6177, allocations: 414.2 kB / 0.6615 GB, free: 8.102 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002565/0.6203, allocations: 1.501 MB / 0.663 GB, free: 6.598 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.6216, allocations: 0.6955 MB / 0.6637 GB, free: 5.891 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.6231, allocations: 0.6929 MB / 0.6644 GB, free: 5.195 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008998/0.6241, allocations: 497.8 kB / 0.6648 GB, free: 4.707 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.6242, allocations: 32 kB / 0.6649 GB, free: 4.676 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.6256, allocations: 415.4 kB / 0.6653 GB, free: 4.27 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003913/0.626, allocations: 259.1 kB / 0.6655 GB, free: 4.016 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004159/0.6265, allocations: 233.1 kB / 0.6657 GB, free: 3.781 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.628, allocations: 0.9665 MB / 0.6667 GB, free: 2.812 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.675e-06/0.6281, allocations: 0 / 0.6667 GB, free: 2.812 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.651e-06/0.6281, allocations: 0 / 0.6667 GB, free: 2.812 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.6281, allocations: 3.938 kB / 0.6667 GB, free: 2.809 MB / 490.7 MB 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.002818/0.6309, allocations: 1.288 MB / 0.6679 GB, free: 1.461 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.631, allocations: 8.031 kB / 0.668 GB, free: 1.453 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.6321, allocations: 186.5 kB / 0.6681 GB, free: 1.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.6343, allocations: 0.8001 MB / 0.6689 GB, free: 424 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.84e-05/0.6344, allocations: 41 kB / 0.669 GB, free: 384 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.6345, allocations: 56 kB / 0.669 GB, free: 328 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.6363, allocations: 0.7888 MB / 0.6698 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.6363, allocations: 3.938 kB / 0.6698 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.366e-05/0.6364, allocations: 24 kB / 0.6698 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.6364, allocations: 15.95 kB / 0.6698 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.6379, allocations: 0.5539 MB / 0.6704 GB, free: 14.86 MB / 0.4948 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.006321/0.6442, allocations: 4.591 MB / 0.6748 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.6453, allocations: 430.8 kB / 0.6753 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.318e-05/0.6454, allocations: 23.92 kB / 0.6753 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007077/0.6461, allocations: 305.7 kB / 0.6756 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 3.453e-06/0.6462, allocations: 0 / 0.6756 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31): time 0.001992/0.6482, allocations: 0.6447 MB / 0.6762 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.37e-05/0.6483, allocations: 114.8 kB / 0.6763 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.6505, allocations: 1.106 MB / 0.6774 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.6506, allocations: 41.7 kB / 0.6774 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005946/0.6512, allocations: 500 kB / 0.6779 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.6514, allocations: 106.5 kB / 0.678 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.6514, allocations: 8 kB / 0.678 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.6516, allocations: 330 kB / 0.6783 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005336/0.6522, allocations: 184.9 kB / 0.6785 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008575/0.653, allocations: 0.4979 MB / 0.679 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006831/0.6537, allocations: 299.1 kB / 0.6793 GB, free: 5.098 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.909e-06/0.6538, allocations: 0 / 0.6793 GB, free: 5.098 MB / 0.4948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001786/0.6556, allocations: 0.6824 MB / 0.6799 GB, free: 4.402 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001211/0.6568, allocations: 2.136 MB / 0.682 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.6568, allocations: 4 kB / 0.682 GB, free: 2.094 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.6569, allocations: 12 kB / 0.682 GB, free: 2.082 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006288/0.6575, allocations: 115.8 kB / 0.6822 GB, free: 1.969 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/0.6575, allocations: 8 kB / 0.6822 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.6588, allocations: 104.2 kB / 0.6823 GB, free: 1.859 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-05/0.6589, allocations: 24 kB / 0.6823 GB, free: 1.836 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.6589, allocations: 7.953 kB / 0.6823 GB, free: 1.828 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001511/0.6605, allocations: 0.5439 MB / 0.6828 GB, free: 1.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.6605, allocations: 8 kB / 0.6828 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.6605, allocations: 8 kB / 0.6828 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005198/0.6611, allocations: 104.2 kB / 0.6829 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.6611, allocations: 11.98 kB / 0.6829 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.6621, allocations: 99.53 kB / 0.683 GB, free: 1.051 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.128e-05/0.6622, allocations: 23.98 kB / 0.6831 GB, free: 1.027 MB / 0.4948 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.0008022/0.663, allocations: 464.7 kB / 0.6835 GB, free: 0.5625 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.6633, allocations: 102.7 kB / 0.6836 GB, free: 472 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.6645, allocations: 488.7 kB / 0.6841 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.172e-06/0.6645, allocations: 4 kB / 0.6841 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.366e-06/0.6646, allocations: 4 kB / 0.6841 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.991e-06/0.6646, allocations: 0 / 0.6841 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.6669, allocations: 1.102 MB / 0.6852 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.727e-06/0.6669, allocations: 0 / 0.6852 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/0.6673, allocations: 63.89 kB / 0.6852 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/0.6673, allocations: 4.219 kB / 0.6852 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/0.6673, allocations: 12 kB / 0.6852 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.299e-05/0.6674, allocations: 7.984 kB / 0.6852 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.527e-06/0.6674, allocations: 4 kB / 0.6852 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.6687, allocations: 0.6324 MB / 0.6859 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004763/0.6692, allocations: 215.8 kB / 0.6861 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.6694, allocations: 11.98 kB / 0.6861 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006658/0.6701, allocations: 59.8 kB / 0.6861 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.6702, allocations: 31.91 kB / 0.6862 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.736e-05/0.6703, allocations: 24.06 kB / 0.6862 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001519/0.6718, allocations: 0.7875 MB / 0.687 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.5e-07/0.6718, allocations: 0 / 0.687 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001523/0.6733, allocations: 407.4 kB / 0.6873 GB, free: 12.44 MB / 0.5105 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.0005038/0.6739, allocations: 189.3 kB / 0.6875 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002012/0.6759, allocations: 0.7895 MB / 0.6883 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.615e-06/0.6759, allocations: 0 / 0.6883 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005662/0.6765, allocations: 207.7 kB / 0.6885 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/0.6791, allocations: 458.3 kB / 0.6889 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006969/0.6861, allocations: 1.947 MB / 0.6908 GB, free: 8.797 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001816/0.6879, allocations: 1.204 MB / 0.692 GB, free: 7.562 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002878/0.6908, allocations: 423.5 kB / 0.6924 GB, free: 7.145 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000463/0.6914, allocations: 71.42 kB / 0.6925 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of SimCode: time 2.533e-06/0.6914, allocations: 3.938 kB / 0.6925 GB, free: 7.07 MB / 0.5105 GB Notification: Performance of Templates: time 0.391/1.082, allocations: 15.98 MB / 0.7081 GB, free: 157.7 MB / 0.5105 GB