Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006665/0.006664, allocations: 100.4 kB / 15.73 MB, free: 6.047 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.001366/0.001366, allocations: 197.2 kB / 16.67 MB, free: 5.977 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.423/1.423, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.499/1.499, allocations: 251.7 MB / 0.5094 GB, free: 3.082 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.001383/0.001383, allocations: 70.09 kB / 0.7258 GB, free: 9.121 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1798, allocations: 104.7 MB / 0.8281 GB, free: 316 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.6417/0.8216, allocations: 161.7 MB / 0.986 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.004831/0.8264, allocations: 3.668 MB / 0.9896 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003587/0.8268, allocations: 19 kB / 0.9896 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0005737/0.8274, allocations: 170 kB / 0.9898 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00148/0.829, allocations: 0.5506 MB / 0.9903 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.8303, allocations: 436.2 kB / 0.9907 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00245/0.8327, allocations: 2.58 MB / 0.9932 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002501/0.8352, allocations: 2.411 MB / 0.9956 GB, free: 9.566 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001695/0.8369, allocations: 1.053 MB / 0.9966 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008318/0.8378, allocations: 0.7024 MB / 0.9973 GB, free: 8.609 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.697e-05/0.8379, allocations: 61.97 kB / 0.9974 GB, free: 8.605 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.8394, allocations: 0.7556 MB / 0.9981 GB, free: 8.199 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003099/0.8397, allocations: 308.9 kB / 0.9984 GB, free: 7.992 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006503/0.8403, allocations: 0.5533 MB / 0.9989 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.8419, allocations: 1.418 MB / 1 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.8419, allocations: 0 / 1 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8419, allocations: 0 / 1 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.8419, allocations: 0 / 1 GB, free: 6.812 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002558/0.8445, allocations: 1.456 MB / 1.002 GB, free: 5.695 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.8446, allocations: 14.23 kB / 1.002 GB, free: 5.691 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000887/0.8454, allocations: 186.1 kB / 1.002 GB, free: 5.602 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.8469, allocations: 0.859 MB / 1.003 GB, free: 4.973 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.007e-05/0.847, allocations: 41.44 kB / 1.003 GB, free: 4.953 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.526e-05/0.8471, allocations: 59.31 kB / 1.003 GB, free: 4.938 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.8483, allocations: 0.8244 MB / 1.004 GB, free: 4.348 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.8483, allocations: 3.938 kB / 1.004 GB, free: 4.344 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.245e-05/0.8484, allocations: 24 kB / 1.004 GB, free: 4.328 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.8484, allocations: 12.22 kB / 1.004 GB, free: 4.328 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008608/0.8493, allocations: 0.5697 MB / 1.004 GB, free: 4.043 MB / 0.7481 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.003806/0.8531, allocations: 4.209 MB / 1.008 GB, free: 272 kB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007153/0.8538, allocations: 438.6 kB / 1.009 GB, free: 48 kB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00049/0.8543, allocations: 346 kB / 1.009 GB, free: 15.87 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003073/0.8546, allocations: 191.8 kB / 1.009 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000521/0.8552, allocations: 327.4 kB / 1.01 GB, free: 15.46 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002448/0.8554, allocations: 33.22 kB / 1.01 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=33): time 2.455e-06/0.8554, allocations: 0 / 1.01 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of matching and sorting (n=33): time 0.001443/0.8569, allocations: 0.6988 MB / 1.01 GB, free: 15.09 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.8569, allocations: 81.52 kB / 1.01 GB, free: 14.99 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.8582, allocations: 1.156 MB / 1.012 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/0.8583, allocations: 35.36 kB / 1.012 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003871/0.8586, allocations: 494.6 kB / 1.012 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 8.988e-05/0.8587, allocations: 109.5 kB / 1.012 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.8589, allocations: 121.3 kB / 1.012 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.8591, allocations: 333.3 kB / 1.013 GB, free: 13.44 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003765/0.8594, allocations: 230.5 kB / 1.013 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000624/0.8601, allocations: 0.542 MB / 1.013 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009138/0.861, allocations: 0.684 MB / 1.014 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.861, allocations: 2.031 kB / 1.014 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001176/0.8622, allocations: 0.765 MB / 1.015 GB, free: 11.9 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.617e-05/0.8622, allocations: 40.02 kB / 1.015 GB, free: 11.87 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.8623, allocations: 2.781 kB / 1.015 GB, free: 11.87 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.8623, allocations: 13.36 kB / 1.015 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004744/0.8628, allocations: 112.5 kB / 1.015 GB, free: 11.83 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.8628, allocations: 7.781 kB / 1.015 GB, free: 11.83 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006861/0.8635, allocations: 62.25 kB / 1.015 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.653e-05/0.8635, allocations: 27.47 kB / 1.015 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006617/0.8642, allocations: 0.52 MB / 1.016 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005568/0.8648, allocations: 0.506 MB / 1.016 GB, free: 11 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007643/0.8656, allocations: 0.5984 MB / 1.017 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.705e-06/0.8656, allocations: 0 / 1.017 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001004/0.8666, allocations: 0.697 MB / 1.017 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.8666, allocations: 35.05 kB / 1.017 GB, free: 10.13 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.8666, allocations: 9.406 kB / 1.017 GB, free: 10.12 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.655e-06/0.8666, allocations: 7.688 kB / 1.017 GB, free: 10.12 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/0.8671, allocations: 112.2 kB / 1.017 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.8671, allocations: 7.281 kB / 1.017 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006747/0.8678, allocations: 71.06 kB / 1.018 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/0.8678, allocations: 20 kB / 1.018 GB, free: 10.02 MB / 0.7637 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 (55): * Single equations (assignments): 54 * 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.0001799/0.868, allocations: 228 kB / 1.018 GB, free: 9.785 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.8681, allocations: 102.7 kB / 1.018 GB, free: 9.684 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009396/0.8691, allocations: 0.5403 MB / 1.018 GB, free: 9.137 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.8691, allocations: 4 kB / 1.018 GB, free: 9.133 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.8691, allocations: 4 kB / 1.018 GB, free: 9.129 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.8691, allocations: 0 / 1.018 GB, free: 9.129 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/0.8712, allocations: 1.491 MB / 1.02 GB, free: 7.562 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.8712, allocations: 4 kB / 1.02 GB, free: 7.559 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003249/0.8716, allocations: 75.81 kB / 1.02 GB, free: 7.484 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-06/0.8716, allocations: 4 kB / 1.02 GB, free: 7.48 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.8716, allocations: 8 kB / 1.02 GB, free: 7.473 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.8716, allocations: 4 kB / 1.02 GB, free: 7.469 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.8716, allocations: 4.219 kB / 1.02 GB, free: 7.465 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009087/0.8725, allocations: 0.6696 MB / 1.021 GB, free: 6.758 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003042/0.8729, allocations: 227.8 kB / 1.021 GB, free: 6.516 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.873, allocations: 12 kB / 1.021 GB, free: 6.504 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005401/0.8735, allocations: 39.88 kB / 1.021 GB, free: 6.465 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.703e-05/0.8736, allocations: 39.84 kB / 1.021 GB, free: 6.426 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.8737, allocations: 12 kB / 1.021 GB, free: 6.414 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00108/0.8748, allocations: 0.8199 MB / 1.022 GB, free: 5.586 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8748, allocations: 0 / 1.022 GB, free: 5.586 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00126/0.876, allocations: 423.5 kB / 1.022 GB, free: 5.172 MB / 0.7637 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 (33): * Single equations (assignments): 31 * 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.0004488/0.8765, allocations: 178.2 kB / 1.022 GB, free: 4.996 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001477/0.878, allocations: 0.9009 MB / 1.023 GB, free: 4.074 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.878, allocations: 4.188 kB / 1.023 GB, free: 4.07 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004164/0.8784, allocations: 231.7 kB / 1.023 GB, free: 3.844 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/0.8805, allocations: 0.4946 MB / 1.024 GB, free: 3.355 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/0.8835, allocations: 1.759 MB / 1.026 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008269/0.8843, allocations: 1.178 MB / 1.027 GB, free: 340 kB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001154/0.8855, allocations: 440 kB / 1.027 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.8857, allocations: 79.36 kB / 1.027 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of SimCode: time 7.02e-07/0.8858, allocations: 0 / 1.027 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of Templates: time 0.03051/0.9163, allocations: 18.78 MB / 1.046 GB, free: 13.29 MB / 0.795 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)