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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007546/0.0007546, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.00558/0.00558, allocations: 171.1 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.4 MB / 222.4 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.519/1.519, allocations: 252 MB / 0.5105 GB, free: 4.648 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005685/0.0005685, allocations: 12 kB / 0.6249 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4639/0.4644, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1628/0.6273, allocations: 157.4 MB / 0.8825 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.002865/0.6302, allocations: 1.803 MB / 0.8842 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002662/0.6305, allocations: 11.88 kB / 0.8842 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005142/0.631, allocations: 131.2 kB / 0.8844 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.6323, allocations: 0.4941 MB / 0.8848 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009773/0.6333, allocations: 340.4 kB / 0.8852 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003278/0.6366, allocations: 3.482 MB / 0.8886 GB, free: 6.957 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.6376, allocations: 0.7563 MB / 0.8893 GB, free: 6.188 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001784/0.6394, allocations: 0.8947 MB / 0.8902 GB, free: 5.289 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009907/0.6404, allocations: 0.7194 MB / 0.8909 GB, free: 4.566 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 7.863e-05/0.6405, allocations: 32 kB / 0.8909 GB, free: 4.535 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.642, allocations: 0.795 MB / 0.8917 GB, free: 3.738 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003314/0.6424, allocations: 286.8 kB / 0.892 GB, free: 3.457 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005784/0.6429, allocations: 0.5262 MB / 0.8925 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.6444, allocations: 1.37 MB / 0.8938 GB, free: 1.547 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.6445, allocations: 0 / 0.8938 GB, free: 1.547 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6445, allocations: 0 / 0.8938 GB, free: 1.547 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.6445, allocations: 0 / 0.8938 GB, free: 1.547 MB / 0.7012 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.002074/0.6466, allocations: 1.256 MB / 0.895 GB, free: 232 kB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.6466, allocations: 12.03 kB / 0.895 GB, free: 220 kB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007624/0.6474, allocations: 186.5 kB / 0.8952 GB, free: 32 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.6487, allocations: 0.8021 MB / 0.896 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.419e-05/0.6488, allocations: 49 kB / 0.8961 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.581e-05/0.6489, allocations: 56 kB / 0.8961 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.6502, allocations: 0.8042 MB / 0.8969 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.6502, allocations: 3.938 kB / 0.8969 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.745e-05/0.6503, allocations: 24 kB / 0.8969 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.6503, allocations: 12 kB / 0.8969 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009371/0.6512, allocations: 0.55 MB / 0.8975 GB, free: 13.6 MB / 0.7169 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.00403/0.6553, allocations: 4.591 MB / 0.902 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007282/0.656, allocations: 434.2 kB / 0.9024 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003816/0.6564, allocations: 244.7 kB / 0.9026 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002881/0.6567, allocations: 198.2 kB / 0.9028 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004689/0.6572, allocations: 289 kB / 0.9031 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=31): time 1.954e-06/0.6572, allocations: 4 kB / 0.9031 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31): time 0.001327/0.6585, allocations: 0.6512 MB / 0.9037 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.6586, allocations: 89.09 kB / 0.9038 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.6599, allocations: 1.114 MB / 0.9049 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.065e-05/0.66, allocations: 37.69 kB / 0.9049 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003959/0.6604, allocations: 488.2 kB / 0.9054 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.105e-05/0.6605, allocations: 110.5 kB / 0.9055 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.285e-05/0.6606, allocations: 41.91 kB / 0.9055 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.6607, allocations: 329.9 kB / 0.9058 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/0.6611, allocations: 220.6 kB / 0.906 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006128/0.6617, allocations: 0.5252 MB / 0.9066 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008543/0.6625, allocations: 0.6432 MB / 0.9072 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.6626, allocations: 0 / 0.9072 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001096/0.6637, allocations: 0.7322 MB / 0.9079 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001646/0.6638, allocations: 275 kB / 0.9082 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.6638, allocations: 8 kB / 0.9082 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.6639, allocations: 15.92 kB / 0.9082 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004159/0.6643, allocations: 103.8 kB / 0.9083 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.6643, allocations: 15.92 kB / 0.9083 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006602/0.665, allocations: 103.4 kB / 0.9084 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.632e-05/0.6651, allocations: 24 kB / 0.9084 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/0.6651, allocations: 4 kB / 0.9084 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008544/0.6659, allocations: 0.536 MB / 0.909 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.6659, allocations: 8 kB / 0.909 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.086e-06/0.666, allocations: 8 kB / 0.909 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/0.6663, allocations: 104.5 kB / 0.9091 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.6663, allocations: 15.92 kB / 0.9091 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005539/0.6669, allocations: 87.62 kB / 0.9092 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/0.6669, allocations: 24 kB / 0.9092 GB, free: 0.7578 MB / 0.7169 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.0004618/0.6674, allocations: 468.6 kB / 0.9096 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.6675, allocations: 102.8 kB / 0.9097 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4294/1.097, allocations: 0.4892 MB / 0.9102 GB, free: 23.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/1.097, allocations: 3.531 kB / 0.9102 GB, free: 23.59 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/1.097, allocations: 1.031 kB / 0.9102 GB, free: 23.59 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/1.097, allocations: 2.578 kB / 0.9102 GB, free: 23.59 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002577/1.1, allocations: 1.395 MB / 0.9116 GB, free: 23.17 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.1, allocations: 1.656 kB / 0.9116 GB, free: 23.17 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/1.1, allocations: 71.77 kB / 0.9117 GB, free: 23.17 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/1.1, allocations: 4.062 kB / 0.9117 GB, free: 23.17 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/1.1, allocations: 16 kB / 0.9117 GB, free: 23.17 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.777e-06/1.1, allocations: 3.469 kB / 0.9117 GB, free: 23.17 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.1, allocations: 3.688 kB / 0.9117 GB, free: 23.17 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009863/1.101, allocations: 0.6106 MB / 0.9123 GB, free: 22.98 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000355/1.101, allocations: 223.6 kB / 0.9125 GB, free: 22.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/1.101, allocations: 9.609 kB / 0.9125 GB, free: 22.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004596/1.102, allocations: 51.25 kB / 0.9125 GB, free: 22.89 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.8e-05/1.102, allocations: 30.95 kB / 0.9126 GB, free: 22.89 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/1.102, allocations: 10.23 kB / 0.9126 GB, free: 22.89 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001256/1.103, allocations: 0.7944 MB / 0.9134 GB, free: 22.78 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/1.103, allocations: 0 / 0.9134 GB, free: 22.78 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001362/1.105, allocations: 408.9 kB / 0.9137 GB, free: 22.78 MB / 0.7169 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.0004514/1.105, allocations: 170.9 kB / 0.9139 GB, free: 22.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001556/1.107, allocations: 0.8305 MB / 0.9147 GB, free: 22.57 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.107, allocations: 0 / 0.9147 GB, free: 22.57 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004061/1.107, allocations: 208.1 kB / 0.9149 GB, free: 22.57 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002401/1.11, allocations: 456.4 kB / 0.9154 GB, free: 22.56 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003797/1.113, allocations: 2.051 MB / 0.9174 GB, free: 21.61 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/1.115, allocations: 1.184 MB / 0.9185 GB, free: 20.89 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001468/1.116, allocations: 418.1 kB / 0.9189 GB, free: 20.86 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/1.116, allocations: 74.8 kB / 0.919 GB, free: 20.85 MB / 0.7169 GB Notification: Performance of SimCode: time 6.51e-07/1.116, allocations: 4 kB / 0.919 GB, free: 20.84 MB / 0.7169 GB Notification: Performance of Templates: time 0.02687/1.143, allocations: 16.43 MB / 0.935 GB, free: 19.85 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: