Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.374/1.374, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009627/0.0009629, allocations: 180.8 kB / 326.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205 MB / 0.5766 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007164/0.0007165, allocations: 82.05 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003391/0.0003392, allocations: 8.969 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1723, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1497/0.322, allocations: 159.2 MB / 1.052 GB, free: 4.395 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003176/0.3252, allocations: 1.819 MB / 1.054 GB, free: 2.57 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004267/0.3257, allocations: 7.938 kB / 1.054 GB, free: 2.562 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005828/0.3263, allocations: 131.2 kB / 1.054 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.3277, allocations: 0.4902 MB / 1.055 GB, free: 1.941 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.3288, allocations: 352.7 kB / 1.055 GB, free: 1.602 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.3718/0.7007, allocations: 3.466 MB / 1.058 GB, free: 2.242 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.7017, allocations: 0.7488 MB / 1.059 GB, free: 2.145 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001618/0.7033, allocations: 0.8703 MB / 1.06 GB, free: 2.141 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009396/0.7043, allocations: 0.7296 MB / 1.061 GB, free: 2.141 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.737e-05/0.7044, allocations: 35.44 kB / 1.061 GB, free: 2.141 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.706, allocations: 0.8058 MB / 1.061 GB, free: 2.141 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003447/0.7063, allocations: 284 kB / 1.062 GB, free: 2.141 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006432/0.707, allocations: 0.5138 MB / 1.062 GB, free: 2.141 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.7086, allocations: 1.029 MB / 1.063 GB, free: 2.082 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.7086, allocations: 9.188 kB / 1.063 GB, free: 2.078 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7086, allocations: 1.75 kB / 1.063 GB, free: 2.078 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.86e-05/0.7086, allocations: 0 / 1.063 GB, free: 2.078 MB / 0.698 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.002716/0.7114, allocations: 1.291 MB / 1.064 GB, free: 17.28 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.7114, allocations: 8.5 kB / 1.064 GB, free: 17.28 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009586/0.7124, allocations: 185.1 kB / 1.065 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001964/0.7144, allocations: 0.8354 MB / 1.065 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.498e-05/0.7145, allocations: 44.67 kB / 1.065 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.7146, allocations: 59.22 kB / 1.066 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.7163, allocations: 0.8004 MB / 1.066 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.7163, allocations: 3.969 kB / 1.066 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.987e-05/0.7164, allocations: 21.81 kB / 1.066 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.7164, allocations: 17.25 kB / 1.066 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.7175, allocations: 0.5486 MB / 1.067 GB, free: 16.62 MB / 0.7136 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.004894/0.7224, allocations: 4.605 MB / 1.071 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007794/0.7232, allocations: 436.8 kB / 1.072 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004038/0.7236, allocations: 246 kB / 1.072 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003126/0.7239, allocations: 198.2 kB / 1.072 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005722/0.7245, allocations: 295 kB / 1.073 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 2.785e-06/0.7245, allocations: 2.344 kB / 1.073 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31): time 0.001533/0.7261, allocations: 0.6523 MB / 1.073 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.7261, allocations: 86.31 kB / 1.073 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/0.7277, allocations: 1.127 MB / 1.074 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.779e-05/0.7278, allocations: 38.67 kB / 1.074 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003846/0.7282, allocations: 490.9 kB / 1.075 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.383e-05/0.7283, allocations: 109.1 kB / 1.075 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.7284, allocations: 39 kB / 1.075 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.7285, allocations: 330 kB / 1.075 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.7289, allocations: 215 kB / 1.076 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005614/0.7294, allocations: 0.5268 MB / 1.076 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009675/0.7304, allocations: 0.6393 MB / 1.077 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.7304, allocations: 4.281 kB / 1.077 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001328/0.7318, allocations: 0.734 MB / 1.077 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000171/0.732, allocations: 285.1 kB / 1.078 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.732, allocations: 5.781 kB / 1.078 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.732, allocations: 8.281 kB / 1.078 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004554/0.7325, allocations: 109.5 kB / 1.078 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.7325, allocations: 10 kB / 1.078 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009776/0.7335, allocations: 114.7 kB / 1.078 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/0.7335, allocations: 21.91 kB / 1.078 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.7336, allocations: 8.562 kB / 1.078 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008659/0.7344, allocations: 0.5421 MB / 1.078 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.7345, allocations: 4.781 kB / 1.078 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.7345, allocations: 12.12 kB / 1.078 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/0.7348, allocations: 108.8 kB / 1.079 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.7348, allocations: 11.28 kB / 1.079 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007692/0.7356, allocations: 98.41 kB / 1.079 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.7356, allocations: 21.97 kB / 1.079 GB, free: 10.77 MB / 0.7136 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.0007151/0.7364, allocations: 472.4 kB / 1.079 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.7365, allocations: 99.31 kB / 1.079 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008077/0.7373, allocations: 0.4902 MB / 1.08 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.7374, allocations: 3.375 kB / 1.08 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.7374, allocations: 6.406 kB / 1.08 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/0.7374, allocations: 7.594 kB / 1.08 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.7394, allocations: 1.4 MB / 1.081 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.7394, allocations: 1.188 kB / 1.081 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.7397, allocations: 69.2 kB / 1.081 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/0.7397, allocations: 3.094 kB / 1.081 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.7397, allocations: 10.14 kB / 1.081 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.291e-06/0.7397, allocations: 5.375 kB / 1.081 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.7397, allocations: 2.688 kB / 1.081 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008951/0.7406, allocations: 0.6267 MB / 1.082 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003906/0.7411, allocations: 215 kB / 1.082 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.7412, allocations: 5.812 kB / 1.082 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004936/0.7417, allocations: 58.23 kB / 1.082 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.126e-05/0.7418, allocations: 31.12 kB / 1.082 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.7418, allocations: 11.66 kB / 1.082 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001043/0.7428, allocations: 0.8015 MB / 1.083 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7429, allocations: 0 / 1.083 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001217/0.7441, allocations: 403.1 kB / 1.083 GB, free: 9.457 MB / 0.7136 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.0004426/0.7445, allocations: 180.4 kB / 1.083 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001269/0.7458, allocations: 0.827 MB / 1.084 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.7458, allocations: 1.859 kB / 1.084 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.7461, allocations: 208.6 kB / 1.084 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/0.7482, allocations: 464.4 kB / 1.085 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/0.751, allocations: 2.082 MB / 1.087 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005904/0.7517, allocations: 1.175 MB / 1.088 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.7519, allocations: 76.34 kB / 1.088 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of SimCode: time 2.305e-06/0.7519, allocations: 0 / 1.088 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of Templates: time 0.02216/0.774, allocations: 15.67 MB / 1.103 GB, free: 5.91 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)