Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 90.52 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.008419/0.008419, allocations: 173.9 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.879/2.879, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003726, allocations: 11.75 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3428, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1624/0.5052, allocations: 157.3 MB / 1.228 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003133/0.5084, allocations: 1.757 MB / 1.229 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003417/0.5088, allocations: 7.938 kB / 1.229 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005255/0.5093, allocations: 135.2 kB / 1.23 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.5106, allocations: 0.4974 MB / 1.23 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.5116, allocations: 342.7 kB / 1.23 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003386/0.515, allocations: 3.507 MB / 1.234 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002574/0.5176, allocations: 2.226 MB / 1.236 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001931/0.5196, allocations: 0.8869 MB / 1.237 GB, free: 272 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.5207, allocations: 0.7078 MB / 1.238 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.843e-05/0.5208, allocations: 39.94 kB / 1.238 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.5223, allocations: 0.799 MB / 1.238 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002865/0.5226, allocations: 278.9 kB / 1.239 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006215/0.5232, allocations: 0.5261 MB / 1.239 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.5249, allocations: 1.382 MB / 1.241 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5249, allocations: 0 / 1.241 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.034e-06/0.525, allocations: 4 kB / 1.241 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.028e-05/0.525, allocations: 0 / 1.241 GB, free: 12.52 MB / 0.9981 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.002213/0.5272, allocations: 1.292 MB / 1.242 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.5273, allocations: 11.97 kB / 1.242 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000749/0.528, allocations: 190.5 kB / 1.242 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.5292, allocations: 0.8022 MB / 1.243 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.231e-05/0.5292, allocations: 45 kB / 1.243 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-05/0.5293, allocations: 67.98 kB / 1.243 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.5306, allocations: 0.8277 MB / 1.244 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.5306, allocations: 7.938 kB / 1.244 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.057e-05/0.5307, allocations: 16 kB / 1.244 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.5307, allocations: 16 kB / 1.244 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009579/0.5316, allocations: 0.5774 MB / 1.244 GB, free: 8.477 MB / 0.9981 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.003866/0.5355, allocations: 4.258 MB / 1.248 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007435/0.5363, allocations: 448.1 kB / 1.249 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005044/0.5368, allocations: 354.2 kB / 1.249 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002771/0.5371, allocations: 190.2 kB / 1.249 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005159/0.5376, allocations: 335.1 kB / 1.25 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002288/0.5378, allocations: 27.8 kB / 1.25 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.294e-06/0.5379, allocations: 3.938 kB / 1.25 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.005031/0.5429, allocations: 1.708 MB / 1.251 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.543, allocations: 85.11 kB / 1.251 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5995/1.142, allocations: 1.138 MB / 1.253 GB, free: 25.05 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001338/1.143, allocations: 37.77 kB / 1.253 GB, free: 25.02 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004568/1.143, allocations: 489.1 kB / 1.253 GB, free: 24.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/1.143, allocations: 117 kB / 1.253 GB, free: 24.93 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.089e-05/1.143, allocations: 44.55 kB / 1.253 GB, free: 24.92 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.948e-05/1.143, allocations: 326 kB / 1.254 GB, free: 24.61 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000527/1.144, allocations: 233 kB / 1.254 GB, free: 24.61 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007147/1.145, allocations: 0.5453 MB / 1.254 GB, free: 24.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/1.146, allocations: 0.6877 MB / 1.255 GB, free: 24.05 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/1.146, allocations: 4.906 kB / 1.255 GB, free: 24.05 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002416/1.148, allocations: 1.123 MB / 1.256 GB, free: 23.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/1.148, allocations: 270.5 kB / 1.256 GB, free: 23.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/1.148, allocations: 11.53 kB / 1.256 GB, free: 23.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/1.15, allocations: 372.6 kB / 1.257 GB, free: 23.58 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/1.15, allocations: 98.8 kB / 1.257 GB, free: 23.58 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/1.151, allocations: 1.038 MB / 1.258 GB, free: 23.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008701/1.152, allocations: 84.02 kB / 1.258 GB, free: 23.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.797e-05/1.152, allocations: 23.56 kB / 1.258 GB, free: 23.04 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/1.152, allocations: 3.969 kB / 1.258 GB, free: 23.04 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001388/1.153, allocations: 0.7837 MB / 1.259 GB, free: 22.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.153, allocations: 4.625 kB / 1.259 GB, free: 22.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005886/1.154, allocations: 245.4 kB / 1.259 GB, free: 22.97 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/1.154, allocations: 97.12 kB / 1.259 GB, free: 22.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003291/1.158, allocations: 3.024 MB / 1.262 GB, free: 21.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008611/1.159, allocations: 86.56 kB / 1.262 GB, free: 21.58 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/1.159, allocations: 30.05 kB / 1.262 GB, free: 21.58 MB / 0.9981 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,20)} Notification: Performance of prepare postOptimizeDAE: time 0.00049/1.159, allocations: 471.4 kB / 1.263 GB, free: 21.39 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/1.159, allocations: 99.84 kB / 1.263 GB, free: 21.34 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/1.161, allocations: 0.802 MB / 1.263 GB, free: 21.23 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/1.161, allocations: 2.781 kB / 1.263 GB, free: 21.23 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/1.161, allocations: 2.531 kB / 1.263 GB, free: 21.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/1.161, allocations: 5.875 kB / 1.263 GB, free: 21.23 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/1.163, allocations: 1.729 MB / 1.265 GB, free: 20.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/1.163, allocations: 2.625 kB / 1.265 GB, free: 20.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/1.164, allocations: 57.5 kB / 1.265 GB, free: 20.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004791/1.164, allocations: 258.9 kB / 1.265 GB, free: 20.72 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/1.164, allocations: 13.7 kB / 1.265 GB, free: 20.72 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008362/1.165, allocations: 1 MB / 1.266 GB, free: 20.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.165, allocations: 6.344 kB / 1.266 GB, free: 20.19 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/1.166, allocations: 0.8983 MB / 1.267 GB, free: 19.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002987/1.167, allocations: 229.8 kB / 1.268 GB, free: 19.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.896e-05/1.167, allocations: 10.58 kB / 1.268 GB, free: 19.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005992/1.167, allocations: 62.48 kB / 1.268 GB, free: 19.74 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.549e-05/1.167, allocations: 30.55 kB / 1.268 GB, free: 19.74 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/1.167, allocations: 8.781 kB / 1.268 GB, free: 19.74 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001017/1.168, allocations: 0.8173 MB / 1.268 GB, free: 19.63 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.168, allocations: 3.406 kB / 1.268 GB, free: 19.63 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001286/1.17, allocations: 463.6 kB / 1.269 GB, free: 19.61 MB / 0.9981 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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004816/1.17, allocations: 179.2 kB / 1.269 GB, free: 19.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002129/1.172, allocations: 1.149 MB / 1.27 GB, free: 19.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.172, allocations: 0 / 1.27 GB, free: 19.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005752/1.173, allocations: 260.5 kB / 1.27 GB, free: 19.22 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003772/1.177, allocations: 0.6238 MB / 1.271 GB, free: 19.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/1.18, allocations: 2.085 MB / 1.273 GB, free: 18.21 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000838/1.181, allocations: 1.186 MB / 1.274 GB, free: 17.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001244/1.182, allocations: 318.6 kB / 1.275 GB, free: 17.46 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/1.182, allocations: 62.36 kB / 1.275 GB, free: 17.45 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/1.182, allocations: 0.5625 kB / 1.275 GB, free: 17.45 MB / 0.9981 GB Notification: Performance of Templates: time 0.04272/1.225, allocations: 21.24 MB / 1.295 GB, free: 16.08 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)