Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.642/1.642, allocations: 292.3 MB / 308.1 MB, free: 4.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001399/0.001399, allocations: 188.5 kB / 376.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.1 MB / 0.6354 GB, free: 9.812 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009916/0.0009918, allocations: 105.2 kB / 0.748 GB, free: 61.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 51.91 kB / 0.8704 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2624, allocations: 114.5 MB / 0.9822 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.618/0.8805, allocations: 159.4 MB / 1.138 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0027/0.8832, allocations: 1.764 MB / 1.14 GB, free: 1 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003316/0.8836, allocations: 10.12 kB / 1.14 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005187/0.8842, allocations: 135.4 kB / 1.14 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.8853, allocations: 0.4961 MB / 1.14 GB, free: 0.6602 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000939/0.8862, allocations: 345.4 kB / 1.141 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002894/0.8891, allocations: 3.493 MB / 1.144 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.8902, allocations: 0.7564 MB / 1.145 GB, free: 15 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/0.892, allocations: 0.9267 MB / 1.146 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009367/0.8929, allocations: 0.7276 MB / 1.146 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 9.294e-05/0.893, allocations: 38.38 kB / 1.146 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.8945, allocations: 0.8035 MB / 1.147 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002916/0.8948, allocations: 290.1 kB / 1.147 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0006338/0.8954, allocations: 0.5187 MB / 1.148 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.897, allocations: 1.383 MB / 1.149 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.897, allocations: 0 / 1.149 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.51e-07/0.897, allocations: 0 / 1.149 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.897, allocations: 0 / 1.149 GB, free: 13.17 MB / 0.7605 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.0024/0.8994, allocations: 1.451 MB / 1.151 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.8995, allocations: 9.312 kB / 1.151 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007388/0.9002, allocations: 189.2 kB / 1.151 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.9015, allocations: 0.7982 MB / 1.152 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.759e-05/0.9016, allocations: 42.5 kB / 1.152 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.388e-05/0.9017, allocations: 63.03 kB / 1.152 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.9028, allocations: 0.7879 MB / 1.152 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.9028, allocations: 3.938 kB / 1.153 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.93e-05/0.9029, allocations: 22.25 kB / 1.153 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.9029, allocations: 15.62 kB / 1.153 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008174/0.9037, allocations: 0.5396 MB / 1.153 GB, free: 11.01 MB / 0.7605 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.004066/0.9078, allocations: 4.586 MB / 1.158 GB, free: 7.113 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006572/0.9085, allocations: 417.5 kB / 1.158 GB, free: 6.984 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000359/0.9088, allocations: 245 kB / 1.158 GB, free: 6.91 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002964/0.9091, allocations: 194.2 kB / 1.158 GB, free: 6.715 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004553/0.9096, allocations: 291.8 kB / 1.159 GB, free: 6.594 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=31): time 1.864e-06/0.9096, allocations: 0 / 1.159 GB, free: 6.594 MB / 0.7605 GB Notification: Performance of matching and sorting (n=31): time 0.001343/0.911, allocations: 0.6396 MB / 1.159 GB, free: 6.375 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.911, allocations: 80.23 kB / 1.159 GB, free: 6.281 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.9122, allocations: 1.116 MB / 1.16 GB, free: 5.891 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/0.9122, allocations: 36.36 kB / 1.16 GB, free: 5.855 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003803/0.9126, allocations: 495.1 kB / 1.161 GB, free: 5.477 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.521e-05/0.9127, allocations: 109.8 kB / 1.161 GB, free: 5.391 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.9129, allocations: 109.3 kB / 1.161 GB, free: 5.34 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.913, allocations: 328 kB / 1.161 GB, free: 5.023 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.9134, allocations: 216.1 kB / 1.162 GB, free: 4.961 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005725/0.9139, allocations: 0.5156 MB / 1.162 GB, free: 4.535 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008918/0.9148, allocations: 0.637 MB / 1.163 GB, free: 4.145 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.9149, allocations: 3 kB / 1.163 GB, free: 4.145 MB / 0.7605 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001193/0.9161, allocations: 0.7317 MB / 1.164 GB, free: 3.848 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.784e-05/0.9161, allocations: 35.77 kB / 1.164 GB, free: 3.816 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.9161, allocations: 3 kB / 1.164 GB, free: 3.816 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.9162, allocations: 9.969 kB / 1.164 GB, free: 3.816 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004488/0.9166, allocations: 112.9 kB / 1.164 GB, free: 3.805 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.9167, allocations: 10.16 kB / 1.164 GB, free: 3.801 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008449/0.9175, allocations: 97.42 kB / 1.164 GB, free: 3.766 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.9176, allocations: 23.19 kB / 1.164 GB, free: 3.762 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008671/0.9185, allocations: 0.5017 MB / 1.164 GB, free: 3.566 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006233/0.9191, allocations: 499 kB / 1.165 GB, free: 3.137 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008617/0.92, allocations: 0.5479 MB / 1.165 GB, free: 2.773 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.13e-06/0.92, allocations: 3.094 kB / 1.165 GB, free: 2.773 MB / 0.7605 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001025/0.921, allocations: 0.6406 MB / 1.166 GB, free: 2.504 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.9211, allocations: 38.61 kB / 1.166 GB, free: 2.473 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.9211, allocations: 5.969 kB / 1.166 GB, free: 2.473 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.495e-06/0.9211, allocations: 6.625 kB / 1.166 GB, free: 2.473 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.9214, allocations: 109.2 kB / 1.166 GB, free: 2.457 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.9214, allocations: 12.62 kB / 1.166 GB, free: 2.457 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006968/0.9221, allocations: 84.7 kB / 1.166 GB, free: 2.434 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.9222, allocations: 19.69 kB / 1.166 GB, free: 2.43 MB / 0.7605 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.0002561/0.9225, allocations: 219.5 kB / 1.166 GB, free: 2.223 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.9226, allocations: 107.2 kB / 1.166 GB, free: 2.168 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009931/0.9236, allocations: 495.6 kB / 1.167 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.9236, allocations: 3.375 kB / 1.167 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.9236, allocations: 3.422 kB / 1.167 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.497e-06/0.9236, allocations: 7.141 kB / 1.167 GB, free: 1.988 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00243/0.9261, allocations: 1.384 MB / 1.168 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.9261, allocations: 0.75 kB / 1.168 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.9263, allocations: 66.2 kB / 1.168 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.9264, allocations: 2.844 kB / 1.168 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.9264, allocations: 13.95 kB / 1.168 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.9264, allocations: 3.844 kB / 1.168 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.9264, allocations: 8.156 kB / 1.168 GB, free: 1.238 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.928, allocations: 1.533 MB / 1.17 GB, free: 188 kB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003926/0.9284, allocations: 214.6 kB / 1.17 GB, free: 20 kB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.79e-05/0.9285, allocations: 7.188 kB / 1.17 GB, free: 16 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004307/0.929, allocations: 50.03 kB / 1.17 GB, free: 4 kB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.9291, allocations: 38.61 kB / 1.17 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.9291, allocations: 6.438 kB / 1.17 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0009867/0.9301, allocations: 0.7987 MB / 1.171 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.943e-06/0.9301, allocations: 0 / 1.171 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001553/0.9317, allocations: 412.2 kB / 1.171 GB, free: 15.64 MB / 0.7761 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.0005761/0.9323, allocations: 174 kB / 1.172 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001549/0.9338, allocations: 0.8041 MB / 1.172 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.9338, allocations: 0 / 1.172 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003811/0.9342, allocations: 205.7 kB / 1.173 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/0.9365, allocations: 463.7 kB / 1.173 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/0.9401, allocations: 2.272 MB / 1.175 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007771/0.9409, allocations: 1.191 MB / 1.176 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001286/0.9422, allocations: 426.6 kB / 1.177 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.9424, allocations: 73.59 kB / 1.177 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of SimCode: time 1.804e-06/0.9424, allocations: 0 / 1.177 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of Templates: time 0.03803/0.9804, allocations: 16.9 MB / 1.193 GB, free: 11.8 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)