Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001312/0.001312, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001555/0.001556, allocations: 189.9 kB / 16.25 MB, free: 6.621 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.473/1.473, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.828/2.828, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 70.39 kB / 0.9115 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2841, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1654/0.4495, allocations: 159.4 MB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003102/0.4526, allocations: 1.751 MB / 1.225 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000392/0.4531, allocations: 15.88 kB / 1.225 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006136/0.4537, allocations: 143.2 kB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.4553, allocations: 0.4941 MB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.4567, allocations: 350.4 kB / 1.226 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00297/0.4596, allocations: 2.574 MB / 1.229 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002982/0.4626, allocations: 2.403 MB / 1.231 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001881/0.4645, allocations: 1.059 MB / 1.232 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.4657, allocations: 0.7663 MB / 1.233 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002622/0.466, allocations: 56 kB / 1.233 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.4677, allocations: 0.76 MB / 1.233 GB, free: 384 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004969/0.4682, allocations: 318.8 kB / 1.234 GB, free: 64 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.4693, allocations: 0.5519 MB / 1.234 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.4713, allocations: 1.433 MB / 1.236 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4713, allocations: 0 / 1.236 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4713, allocations: 0 / 1.236 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.895e-05/0.4714, allocations: 0 / 1.236 GB, free: 14.07 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.002899/0.4743, allocations: 1.455 MB / 1.237 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.4743, allocations: 12.03 kB / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00082/0.4752, allocations: 178.5 kB / 1.237 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.4765, allocations: 0.8061 MB / 1.238 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/0.4765, allocations: 48.98 kB / 1.238 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.352e-05/0.4766, allocations: 56 kB / 1.238 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.4779, allocations: 0.8237 MB / 1.239 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.4779, allocations: 4 kB / 1.239 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.556e-05/0.478, allocations: 27.98 kB / 1.239 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.478, allocations: 12 kB / 1.239 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009818/0.479, allocations: 0.5657 MB / 1.24 GB, free: 9.895 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.003976/0.483, allocations: 4.207 MB / 1.244 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007536/0.4838, allocations: 446.2 kB / 1.244 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004832/0.4842, allocations: 346.8 kB / 1.244 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002974/0.4846, allocations: 194.2 kB / 1.245 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005265/0.4851, allocations: 319 kB / 1.245 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002493/0.4854, allocations: 35.77 kB / 1.245 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/0.4854, allocations: 3.938 kB / 1.245 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.00516/0.4905, allocations: 1.665 MB / 1.247 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.4906, allocations: 81.11 kB / 1.247 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.492, allocations: 1.154 MB / 1.248 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.725e-05/0.4921, allocations: 37.64 kB / 1.248 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003861/0.4924, allocations: 488.4 kB / 1.248 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.4926, allocations: 114.4 kB / 1.248 GB, free: 444 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.4927, allocations: 114.2 kB / 1.249 GB, free: 324 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.4732/0.966, allocations: 330 kB / 1.249 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006028/0.9666, allocations: 232.1 kB / 1.249 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000724/0.9673, allocations: 0.5358 MB / 1.25 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.9689, allocations: 0.6783 MB / 1.25 GB, free: 185 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.9689, allocations: 2.875 kB / 1.25 GB, free: 185 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003684/0.9726, allocations: 1.102 MB / 1.251 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.315e-05/0.9727, allocations: 35.67 kB / 1.251 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/0.9727, allocations: 5.062 kB / 1.251 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/0.9746, allocations: 369.2 kB / 1.252 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005047/0.9752, allocations: 94.22 kB / 1.252 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.9767, allocations: 1.04 MB / 1.253 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.9782, allocations: 80.3 kB / 1.253 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.9783, allocations: 26.08 kB / 1.253 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001185/0.9795, allocations: 0.5188 MB / 1.253 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007232/0.9802, allocations: 0.5106 MB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001067/0.9813, allocations: 0.6033 MB / 1.255 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.186e-06/0.9813, allocations: 5.719 kB / 1.255 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.002337/0.9837, allocations: 0.9015 MB / 1.255 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.69e-05/0.9837, allocations: 34.23 kB / 1.255 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.9838, allocations: 5.688 kB / 1.255 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008016/0.9846, allocations: 241.8 kB / 1.256 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004542/0.985, allocations: 93.03 kB / 1.256 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004279/0.9893, allocations: 3.268 MB / 1.259 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.9905, allocations: 87.28 kB / 1.259 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/0.9906, allocations: 28.39 kB / 1.259 GB, free: 181.9 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.0001888/0.9908, allocations: 215.3 kB / 1.259 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.9909, allocations: 104.6 kB / 1.259 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.9923, allocations: 0.7695 MB / 1.26 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.9923, allocations: 2.688 kB / 1.26 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.9923, allocations: 0 / 1.26 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.9923, allocations: 5.562 kB / 1.26 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003099/0.9954, allocations: 1.725 MB / 1.262 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.9954, allocations: 2.625 kB / 1.262 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003755/0.9958, allocations: 51.33 kB / 1.262 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007641/0.9966, allocations: 242.9 kB / 1.262 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/0.9967, allocations: 14.14 kB / 1.262 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.9978, allocations: 1.011 MB / 1.263 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.9978, allocations: 3.344 kB / 1.263 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.9996, allocations: 0.9045 MB / 1.264 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004712/1, allocations: 216.8 kB / 1.264 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/1, allocations: 13.38 kB / 1.264 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009193/1.001, allocations: 58.42 kB / 1.264 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/1.001, allocations: 28.47 kB / 1.264 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/1.001, allocations: 9.672 kB / 1.264 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001618/1.003, allocations: 0.8197 MB / 1.265 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.91e-07/1.003, allocations: 1.938 kB / 1.265 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002004/1.005, allocations: 470.8 kB / 1.266 GB, free: 179.2 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.0005492/1.006, allocations: 185.1 kB / 1.266 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002967/1.009, allocations: 1.14 MB / 1.267 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.009, allocations: 0.625 kB / 1.267 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009107/1.01, allocations: 254.1 kB / 1.267 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003508/1.013, allocations: 0.4917 MB / 1.268 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004768/1.018, allocations: 2.066 MB / 1.27 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/1.019, allocations: 1.181 MB / 1.271 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001689/1.021, allocations: 329.4 kB / 1.271 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/1.021, allocations: 66.25 kB / 1.271 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.172e-06/1.021, allocations: 0.5 kB / 1.271 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.03901/1.06, allocations: 20.83 MB / 1.291 GB, free: 168.7 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)