Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.903/1.903, allocations: 288.3 MB / 303.2 MB, free: 8.258 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.00108/0.00108, allocations: 189.1 kB / 371.9 MB, free: 10.28 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.354/1.354, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008871/0.000887, allocations: 90.66 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005502/0.0005504, allocations: 11.88 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2384, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.5397/0.7782, allocations: 135.7 MB / 1.112 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.002765/0.781, allocations: 1.662 MB / 1.114 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002631/0.7813, allocations: 8.969 kB / 1.114 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005789/0.7819, allocations: 178.1 kB / 1.114 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.7832, allocations: 0.4928 MB / 1.114 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.7844, allocations: 419.9 kB / 1.115 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001736/0.7861, allocations: 1.487 MB / 1.116 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009593/0.7871, allocations: 0.7042 MB / 1.117 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.7882, allocations: 0.6919 MB / 1.117 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005397/0.7888, allocations: 0.4892 MB / 1.118 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.532e-05/0.7889, allocations: 35.22 kB / 1.118 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009804/0.7899, allocations: 414.7 kB / 1.118 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002356/0.7901, allocations: 254.8 kB / 1.119 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002456/0.7904, allocations: 231 kB / 1.119 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.000955/0.7913, allocations: 0.9697 MB / 1.12 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.016e-05/0.7914, allocations: 0 / 1.12 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.426e-06/0.7914, allocations: 7.938 kB / 1.12 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.8e-05/0.7914, allocations: 0 / 1.12 GB, free: 1.098 MB / 0.6823 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.002139/0.7936, allocations: 1.287 MB / 1.121 GB, free: 16.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.7936, allocations: 9.188 kB / 1.121 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007729/0.7944, allocations: 180.9 kB / 1.121 GB, free: 16.24 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/0.7961, allocations: 0.7996 MB / 1.122 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.358e-05/0.7961, allocations: 43.59 kB / 1.122 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-05/0.7962, allocations: 61.47 kB / 1.122 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.7973, allocations: 0.7931 MB / 1.123 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.7973, allocations: 6.141 kB / 1.123 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.043e-05/0.7974, allocations: 22.41 kB / 1.123 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.7974, allocations: 15.16 kB / 1.123 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008019/0.7982, allocations: 0.5461 MB / 1.123 GB, free: 15.62 MB / 0.698 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.003896/0.8021, allocations: 4.595 MB / 1.128 GB, free: 12.13 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006974/0.8028, allocations: 443.2 kB / 1.128 GB, free: 12.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.004e-05/0.8029, allocations: 13.17 kB / 1.128 GB, free: 12.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000508/0.8034, allocations: 296.4 kB / 1.129 GB, free: 12.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.114e-06/0.8034, allocations: 0 / 1.129 GB, free: 12.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.00134/0.8048, allocations: 0.6443 MB / 1.129 GB, free: 11.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.8049, allocations: 111.2 kB / 1.129 GB, free: 11.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.8061, allocations: 1.112 MB / 1.13 GB, free: 11.53 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.728e-05/0.8062, allocations: 37.22 kB / 1.131 GB, free: 11.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003487/0.8065, allocations: 496.8 kB / 1.131 GB, free: 11.28 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.601e-05/0.8066, allocations: 107.5 kB / 1.131 GB, free: 11.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/0.8067, allocations: 5.562 kB / 1.131 GB, free: 11.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.8068, allocations: 328.3 kB / 1.131 GB, free: 10.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.8071, allocations: 184.3 kB / 1.132 GB, free: 10.85 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005723/0.8077, allocations: 0.491 MB / 1.132 GB, free: 10.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004247/0.8081, allocations: 299.2 kB / 1.132 GB, free: 10.33 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.8081, allocations: 6.75 kB / 1.132 GB, free: 10.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001097/0.8092, allocations: 0.6826 MB / 1.133 GB, free: 10.08 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007567/0.81, allocations: 2.13 MB / 1.135 GB, free: 7.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.81, allocations: 6.297 kB / 1.135 GB, free: 7.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.8101, allocations: 16.28 kB / 1.135 GB, free: 7.832 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/0.8105, allocations: 112.2 kB / 1.135 GB, free: 7.805 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.8105, allocations: 14.42 kB / 1.135 GB, free: 7.797 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009164/0.8114, allocations: 108.7 kB / 1.135 GB, free: 7.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.267e-05/0.8115, allocations: 25.23 kB / 1.135 GB, free: 7.746 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/0.8115, allocations: 3.469 kB / 1.135 GB, free: 7.746 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008295/0.8124, allocations: 0.5419 MB / 1.136 GB, free: 7.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.8124, allocations: 6.094 kB / 1.136 GB, free: 7.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.8124, allocations: 12.16 kB / 1.136 GB, free: 7.586 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.8128, allocations: 106.3 kB / 1.136 GB, free: 7.562 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.8128, allocations: 12.91 kB / 1.136 GB, free: 7.559 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006901/0.8135, allocations: 95.89 kB / 1.136 GB, free: 7.516 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.8135, allocations: 21.03 kB / 1.136 GB, free: 7.516 MB / 0.698 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.0005619/0.8141, allocations: 479.8 kB / 1.137 GB, free: 7.238 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.8142, allocations: 97.34 kB / 1.137 GB, free: 7.188 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008181/0.8151, allocations: 478.5 kB / 1.137 GB, free: 7.051 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.8151, allocations: 8.438 kB / 1.137 GB, free: 7.047 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.8151, allocations: 0.5625 kB / 1.137 GB, free: 7.047 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.8151, allocations: 5.391 kB / 1.137 GB, free: 7.043 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.8167, allocations: 1.103 MB / 1.138 GB, free: 6.402 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.8167, allocations: 8.422 kB / 1.138 GB, free: 6.398 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.817, allocations: 64.52 kB / 1.138 GB, free: 6.383 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.817, allocations: 7.891 kB / 1.138 GB, free: 6.379 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.817, allocations: 10.16 kB / 1.138 GB, free: 6.379 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.817, allocations: 3.75 kB / 1.138 GB, free: 6.379 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.817, allocations: 6.531 kB / 1.138 GB, free: 6.375 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008648/0.8179, allocations: 0.6264 MB / 1.139 GB, free: 6.004 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/0.8183, allocations: 226.2 kB / 1.139 GB, free: 5.832 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.8184, allocations: 10.66 kB / 1.139 GB, free: 5.828 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004746/0.8189, allocations: 52.3 kB / 1.139 GB, free: 5.809 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.462e-05/0.819, allocations: 35.78 kB / 1.139 GB, free: 5.793 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.819, allocations: 8.688 kB / 1.139 GB, free: 5.793 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001068/0.8201, allocations: 0.7873 MB / 1.14 GB, free: 5.531 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8201, allocations: 0 / 1.14 GB, free: 5.531 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00127/0.8214, allocations: 409.1 kB / 1.14 GB, free: 5.5 MB / 0.698 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.0004216/0.8218, allocations: 174 kB / 1.141 GB, free: 5.375 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001398/0.8232, allocations: 0.8001 MB / 1.141 GB, free: 5.09 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.8233, allocations: 0 / 1.141 GB, free: 5.09 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000422/0.8237, allocations: 203.2 kB / 1.142 GB, free: 5.047 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/0.8257, allocations: 453.6 kB / 1.142 GB, free: 4.898 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003158/0.8288, allocations: 1.963 MB / 1.144 GB, free: 3.797 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008897/0.8298, allocations: 1.198 MB / 1.145 GB, free: 2.902 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001305/0.8311, allocations: 424.9 kB / 1.145 GB, free: 2.715 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.8313, allocations: 72.86 kB / 1.146 GB, free: 2.703 MB / 0.698 GB Notification: Performance of SimCode: time 1.132e-06/0.8313, allocations: 0 / 1.146 GB, free: 2.703 MB / 0.698 GB Notification: Performance of Templates: time 0.02935/0.8607, allocations: 16.02 MB / 1.161 GB, free: 10.91 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)