Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.ParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008421/0.0008419, allocations: 91.84 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.005815/0.005815, allocations: 170.1 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.424/1.424, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.726/2.726, allocations: 473.4 MB / 0.7469 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004649/0.0004649, allocations: 14.53 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3093, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.1724/0.4817, allocations: 157.3 MB / 1.228 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003546/0.4853, allocations: 1.762 MB / 1.229 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004497/0.4858, allocations: 11.88 kB / 1.229 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000657/0.4865, allocations: 127.2 kB / 1.23 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001601/0.4881, allocations: 0.4941 MB / 1.23 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.4893, allocations: 354.2 kB / 1.23 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003447/0.4927, allocations: 3.507 MB / 1.234 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002896/0.4956, allocations: 2.211 MB / 1.236 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00205/0.4977, allocations: 0.8986 MB / 1.237 GB, free: 236 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000923/0.4986, allocations: 0.7156 MB / 1.238 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.74e-05/0.4987, allocations: 32 kB / 1.238 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.5002, allocations: 0.7949 MB / 1.238 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002819/0.5005, allocations: 278.9 kB / 1.239 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006351/0.5011, allocations: 0.534 MB / 1.239 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.5027, allocations: 1.386 MB / 1.241 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5027, allocations: 0 / 1.241 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5027, allocations: 0 / 1.241 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.5027, allocations: 0 / 1.241 GB, free: 12.48 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.002007/0.5047, allocations: 1.288 MB / 1.242 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.5048, allocations: 8.031 kB / 1.242 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007848/0.5056, allocations: 182.5 kB / 1.242 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.5067, allocations: 0.81 MB / 1.243 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.5067, allocations: 45 kB / 1.243 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.553e-05/0.5068, allocations: 56 kB / 1.243 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.508, allocations: 0.8355 MB / 1.244 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.508, allocations: 0 / 1.244 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.303e-05/0.5081, allocations: 27.98 kB / 1.244 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.5081, allocations: 12 kB / 1.244 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009352/0.509, allocations: 0.5812 MB / 1.244 GB, free: 8.445 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.003776/0.5128, allocations: 4.254 MB / 1.248 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007471/0.5136, allocations: 450.2 kB / 1.249 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005007/0.5141, allocations: 353.1 kB / 1.249 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003207/0.5144, allocations: 198.2 kB / 1.249 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005599/0.515, allocations: 327 kB / 1.25 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001983/0.5152, allocations: 27.69 kB / 1.25 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 3.016e-06/0.5152, allocations: 4.031 kB / 1.25 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.004957/0.5202, allocations: 1.592 MB / 1.251 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.5203, allocations: 85.05 kB / 1.251 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6235/1.144, allocations: 1.143 MB / 1.252 GB, free: 25.11 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001102/1.144, allocations: 39.31 kB / 1.253 GB, free: 25.08 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/1.144, allocations: 486.7 kB / 1.253 GB, free: 25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/1.144, allocations: 120.2 kB / 1.253 GB, free: 25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-05/1.144, allocations: 44.28 kB / 1.253 GB, free: 24.98 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.041e-05/1.145, allocations: 326.4 kB / 1.253 GB, free: 24.68 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005441/1.145, allocations: 231.8 kB / 1.254 GB, free: 24.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007086/1.146, allocations: 0.554 MB / 1.254 GB, free: 24.33 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/1.147, allocations: 0.6886 MB / 1.255 GB, free: 24.11 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/1.147, allocations: 1.375 kB / 1.255 GB, free: 24.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002685/1.15, allocations: 1.127 MB / 1.256 GB, free: 23.96 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/1.15, allocations: 274.9 kB / 1.256 GB, free: 23.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/1.15, allocations: 5.844 kB / 1.256 GB, free: 23.65 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001597/1.151, allocations: 428.9 kB / 1.257 GB, free: 23.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000415/1.152, allocations: 103.3 kB / 1.257 GB, free: 23.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/1.153, allocations: 1.104 MB / 1.258 GB, free: 23.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009428/1.154, allocations: 77.06 kB / 1.258 GB, free: 23.08 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.947e-05/1.154, allocations: 23.75 kB / 1.258 GB, free: 23.08 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/1.154, allocations: 7.875 kB / 1.258 GB, free: 23.08 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001554/1.156, allocations: 0.7856 MB / 1.259 GB, free: 23.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/1.156, allocations: 5.375 kB / 1.259 GB, free: 23.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005803/1.156, allocations: 235 kB / 1.259 GB, free: 23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/1.157, allocations: 101.2 kB / 1.259 GB, free: 23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003486/1.16, allocations: 3.05 MB / 1.262 GB, free: 21.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/1.161, allocations: 81.44 kB / 1.262 GB, free: 21.62 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.377e-05/1.161, allocations: 26.16 kB / 1.262 GB, free: 21.61 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 {(10,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005839/1.162, allocations: 464 kB / 1.263 GB, free: 21.43 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/1.162, allocations: 105.6 kB / 1.263 GB, free: 21.38 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/1.164, allocations: 0.796 MB / 1.263 GB, free: 21.27 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/1.164, allocations: 5.25 kB / 1.263 GB, free: 21.27 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/1.164, allocations: 0.8906 kB / 1.263 GB, free: 21.27 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/1.164, allocations: 1.875 kB / 1.263 GB, free: 21.27 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/1.166, allocations: 1.739 MB / 1.265 GB, free: 20.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/1.166, allocations: 3.875 kB / 1.265 GB, free: 20.78 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/1.166, allocations: 55.89 kB / 1.265 GB, free: 20.78 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005726/1.167, allocations: 277.2 kB / 1.265 GB, free: 20.76 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/1.167, allocations: 12.72 kB / 1.265 GB, free: 20.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009202/1.168, allocations: 1.048 MB / 1.267 GB, free: 20.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.168, allocations: 4.594 kB / 1.267 GB, free: 20.21 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/1.169, allocations: 0.8976 MB / 1.267 GB, free: 19.92 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003187/1.17, allocations: 234 kB / 1.268 GB, free: 19.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/1.17, allocations: 8.797 kB / 1.268 GB, free: 19.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006214/1.17, allocations: 58.83 kB / 1.268 GB, free: 19.77 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.516e-05/1.17, allocations: 36.3 kB / 1.268 GB, free: 19.76 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/1.171, allocations: 9.469 kB / 1.268 GB, free: 19.76 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001034/1.172, allocations: 0.821 MB / 1.269 GB, free: 19.65 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.172, allocations: 0 / 1.269 GB, free: 19.65 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001299/1.173, allocations: 463.3 kB / 1.269 GB, free: 19.62 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 {(10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004042/1.173, allocations: 173.8 kB / 1.269 GB, free: 19.53 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003026/1.176, allocations: 1.275 MB / 1.27 GB, free: 19.25 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.176, allocations: 4.062 kB / 1.27 GB, free: 19.24 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008636/1.177, allocations: 313.5 kB / 1.271 GB, free: 19.23 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003666/1.181, allocations: 0.632 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.003338/1.184, allocations: 2.18 MB / 1.273 GB, free: 18.19 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008155/1.185, allocations: 1.184 MB / 1.275 GB, free: 17.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001141/1.186, allocations: 317.2 kB / 1.275 GB, free: 17.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/1.186, allocations: 65.38 kB / 1.275 GB, free: 17.43 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/1.186, allocations: 2.844 kB / 1.275 GB, free: 17.43 MB / 0.9981 GB Notification: Performance of Templates: time 0.04004/1.226, allocations: 20.92 MB / 1.295 GB, free: 16.09 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)