Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009034/0.0009033, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001059/0.001059, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.565/1.565, allocations: 252 MB / 0.5102 GB, free: 4.816 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.0004963/0.0004964, allocations: 16 kB / 0.6243 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4568/0.4573, allocations: 106.3 MB / 0.7281 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.1641/0.6214, allocations: 152.5 MB / 0.8771 GB, free: 2.398 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.005442/0.6269, allocations: 3.831 MB / 0.8808 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000554/0.6275, allocations: 11.94 kB / 0.8809 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006299/0.6282, allocations: 162.9 kB / 0.881 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.6297, allocations: 0.4898 MB / 0.8815 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.6311, allocations: 412.2 kB / 0.8819 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003535/0.6346, allocations: 3.266 MB / 0.8851 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002887/0.6375, allocations: 2.307 MB / 0.8873 GB, free: 7.902 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002402/0.6399, allocations: 1.054 MB / 0.8884 GB, free: 6.844 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/0.6412, allocations: 0.8521 MB / 0.8892 GB, free: 5.988 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.6413, allocations: 48 kB / 0.8892 GB, free: 5.941 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.6428, allocations: 0.6003 MB / 0.8898 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003526/0.6431, allocations: 330.8 kB / 0.8901 GB, free: 5.016 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003968/0.6435, allocations: 249.1 kB / 0.8904 GB, free: 4.766 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.6448, allocations: 1.181 MB / 0.8915 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6448, allocations: 0 / 0.8915 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6448, allocations: 0 / 0.8915 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.401e-05/0.6448, allocations: 0 / 0.8915 GB, free: 3.582 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002548/0.6474, allocations: 1.514 MB / 0.893 GB, free: 2.004 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.6474, allocations: 8.031 kB / 0.893 GB, free: 1.996 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008098/0.6482, allocations: 198.4 kB / 0.8932 GB, free: 1.801 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/0.6499, allocations: 0.8795 MB / 0.8941 GB, free: 0.8672 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.621e-05/0.65, allocations: 45.31 kB / 0.8941 GB, free: 0.8242 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.6501, allocations: 64 kB / 0.8942 GB, free: 0.7617 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.6517, allocations: 0.9909 MB / 0.8951 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.6517, allocations: 0 / 0.8951 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.306e-05/0.6518, allocations: 24 kB / 0.8952 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.6518, allocations: 16 kB / 0.8952 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.653, allocations: 0.8038 MB / 0.896 GB, free: 14.85 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.005018/0.6581, allocations: 4.827 MB / 0.9007 GB, free: 9.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/0.6606, allocations: 4.014 MB / 0.9046 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000505/0.6611, allocations: 353.9 kB / 0.9049 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003023/0.6614, allocations: 198.5 kB / 0.9051 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005731/0.662, allocations: 333 kB / 0.9054 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003834/0.6624, allocations: 35.62 kB / 0.9055 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=35): time 1.974e-06/0.6624, allocations: 0 / 0.9055 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.004893/0.6673, allocations: 1.747 MB / 0.9072 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.6674, allocations: 81.11 kB / 0.9073 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/0.6689, allocations: 1.185 MB / 0.9084 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.675e-05/0.669, allocations: 37.7 kB / 0.9084 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004758/0.6695, allocations: 0.5161 MB / 0.9089 GB, free: 248 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.576e-05/0.6696, allocations: 122.3 kB / 0.9091 GB, free: 124 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.6696, allocations: 8 kB / 0.9091 GB, free: 116 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.4278/1.097, allocations: 326.5 kB / 0.9094 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008162/1.098, allocations: 203.5 kB / 0.9096 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007161/1.099, allocations: 0.5329 MB / 0.9101 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006227/1.1, allocations: 320.7 kB / 0.9104 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/1.1, allocations: 1.75 kB / 0.9104 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002873/1.103, allocations: 1.081 MB / 0.9115 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001569/1.103, allocations: 278.2 kB / 0.9117 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/1.103, allocations: 5.188 kB / 0.9117 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/1.104, allocations: 376 kB / 0.9121 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/1.104, allocations: 78.94 kB / 0.9122 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/1.106, allocations: 1.053 MB / 0.9132 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/1.107, allocations: 102.3 kB / 0.9133 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.549e-05/1.107, allocations: 27.08 kB / 0.9133 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/1.107, allocations: 3.156 kB / 0.9133 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001637/1.109, allocations: 0.819 MB / 0.9141 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/1.109, allocations: 9.25 kB / 0.9141 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000668/1.109, allocations: 263.5 kB / 0.9144 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/1.11, allocations: 72.23 kB / 0.9144 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004116/1.114, allocations: 3.125 MB / 0.9175 GB, free: 178.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/1.115, allocations: 103.4 kB / 0.9176 GB, free: 178.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.914e-05/1.115, allocations: 24 kB / 0.9176 GB, free: 178.3 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 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.0007679/1.116, allocations: 473.5 kB / 0.9181 GB, free: 178 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/1.116, allocations: 114.3 kB / 0.9182 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/1.118, allocations: 0.8202 MB / 0.919 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/1.118, allocations: 4.062 kB / 0.919 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.118, allocations: 1.328 kB / 0.919 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/1.118, allocations: 1.938 kB / 0.919 GB, free: 177.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 postOpt removeSimpleEquations (simulation): time 0.003556/1.121, allocations: 2.172 MB / 0.9211 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/1.121, allocations: 2.062 kB / 0.9211 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/1.122, allocations: 55.56 kB / 0.9212 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005553/1.122, allocations: 206.9 kB / 0.9214 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/1.122, allocations: 9.422 kB / 0.9214 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006689/1.123, allocations: 0.884 MB / 0.9222 GB, free: 175.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.123, allocations: 2.594 kB / 0.9222 GB, free: 175.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/1.124, allocations: 0.8921 MB / 0.9231 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/1.124, allocations: 240.6 kB / 0.9233 GB, free: 175.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/1.124, allocations: 8.125 kB / 0.9233 GB, free: 175.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005959/1.125, allocations: 79.53 kB / 0.9234 GB, free: 175.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/1.125, allocations: 33.23 kB / 0.9235 GB, free: 175 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/1.125, allocations: 13.62 kB / 0.9235 GB, free: 175 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001129/1.126, allocations: 0.8284 MB / 0.9243 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.022e-06/1.126, allocations: 0 / 0.9243 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001689/1.128, allocations: 0.5133 MB / 0.9248 GB, free: 174.6 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004123/1.128, allocations: 187.2 kB / 0.925 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001664/1.13, allocations: 1.134 MB / 0.9261 GB, free: 173.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.13, allocations: 0 / 0.9261 GB, free: 173.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004063/1.131, allocations: 264 kB / 0.9263 GB, free: 173.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002692/1.133, allocations: 0.6485 MB / 0.9269 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/1.136, allocations: 2.106 MB / 0.929 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/1.136, allocations: 1.213 MB / 0.9302 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009504/1.137, allocations: 327.4 kB / 0.9305 GB, free: 170.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/1.137, allocations: 67.42 kB / 0.9306 GB, free: 170.2 MB / 0.7169 GB Notification: Performance of SimCode: time 6.01e-07/1.137, allocations: 0 / 0.9306 GB, free: 170.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.0298/1.167, allocations: 21.14 MB / 0.9512 GB, free: 149.4 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) Environment - environmentSimulation: