Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.412/1.412, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 182.6 kB / 326.5 MB, free: 2.668 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205 MB / 0.5766 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007658/0.0007659, allocations: 84.88 kB / 0.6804 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003039/0.0003039, allocations: 8.469 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1753, allocations: 105.4 MB / 0.8967 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.137/0.3124, allocations: 159.2 MB / 1.052 GB, free: 4.367 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002846/0.3153, allocations: 1.83 MB / 1.054 GB, free: 2.535 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/0.3155, allocations: 7.938 kB / 1.054 GB, free: 2.527 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004867/0.316, allocations: 139.1 kB / 1.054 GB, free: 2.391 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.3172, allocations: 0.4902 MB / 1.055 GB, free: 1.898 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008669/0.318, allocations: 352.5 kB / 1.055 GB, free: 1.559 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.3772/0.6952, allocations: 3.493 MB / 1.058 GB, free: 2.207 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002712/0.698, allocations: 2.211 MB / 1.06 GB, free: 1.961 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001857/0.6998, allocations: 0.8736 MB / 1.061 GB, free: 1.957 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00138/0.7012, allocations: 0.7345 MB / 1.062 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002492/0.7015, allocations: 32.22 kB / 1.062 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001954/0.7035, allocations: 0.8037 MB / 1.063 GB, free: 1.945 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005759/0.7041, allocations: 283.5 kB / 1.063 GB, free: 1.945 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001425/0.7055, allocations: 0.5131 MB / 1.064 GB, free: 1.945 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001713/0.7072, allocations: 1.052 MB / 1.065 GB, free: 1.848 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7072, allocations: 3.828 kB / 1.065 GB, free: 1.848 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7072, allocations: 0.9688 kB / 1.065 GB, free: 1.848 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.947e-05/0.7073, allocations: 0 / 1.065 GB, free: 1.848 MB / 0.698 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.002933/0.7102, allocations: 1.317 MB / 1.066 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.7103, allocations: 9.625 kB / 1.066 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009115/0.7112, allocations: 185 kB / 1.066 GB, free: 16.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.713, allocations: 0.8438 MB / 1.067 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-05/0.7131, allocations: 44.22 kB / 1.067 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.7132, allocations: 59.47 kB / 1.067 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.7148, allocations: 0.83 MB / 1.068 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.7149, allocations: 4.438 kB / 1.068 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.942e-05/0.7149, allocations: 19.84 kB / 1.068 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/0.715, allocations: 17.78 kB / 1.068 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.7161, allocations: 0.5798 MB / 1.068 GB, free: 16.38 MB / 0.7136 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.005038/0.7211, allocations: 4.26 MB / 1.073 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009271/0.7221, allocations: 449 kB / 1.073 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005105/0.7226, allocations: 349.8 kB / 1.073 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003194/0.7229, allocations: 195.6 kB / 1.074 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005303/0.7235, allocations: 331.9 kB / 1.074 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005035/0.724, allocations: 28.44 kB / 1.074 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 3.957e-06/0.724, allocations: 1.312 kB / 1.074 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.005161/0.7292, allocations: 1.723 MB / 1.076 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.7292, allocations: 84.77 kB / 1.076 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/0.7309, allocations: 1.156 MB / 1.077 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.035e-05/0.731, allocations: 40.58 kB / 1.077 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000401/0.7314, allocations: 484 kB / 1.077 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.514e-05/0.7315, allocations: 114.1 kB / 1.077 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.668e-05/0.7316, allocations: 41.91 kB / 1.077 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.7317, allocations: 327.2 kB / 1.078 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004054/0.7321, allocations: 237.3 kB / 1.078 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006103/0.7327, allocations: 0.5501 MB / 1.079 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008629/0.7336, allocations: 0.6892 MB / 1.079 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.7336, allocations: 3.938 kB / 1.079 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002291/0.7359, allocations: 1.126 MB / 1.08 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001787/0.7361, allocations: 286.7 kB / 1.081 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.7361, allocations: 5.156 kB / 1.081 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/0.7374, allocations: 379.9 kB / 1.081 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.7378, allocations: 102.1 kB / 1.081 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.7389, allocations: 1.054 MB / 1.082 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.7401, allocations: 89.44 kB / 1.082 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.782e-05/0.7401, allocations: 23.62 kB / 1.082 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.936e-06/0.7402, allocations: 3.25 kB / 1.082 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001395/0.7416, allocations: 0.8058 MB / 1.083 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.7416, allocations: 3.125 kB / 1.083 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000555/0.7421, allocations: 242.9 kB / 1.083 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.7425, allocations: 98.48 kB / 1.083 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/0.7458, allocations: 3.051 MB / 1.086 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.747, allocations: 90.83 kB / 1.086 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.182e-05/0.7471, allocations: 22.94 kB / 1.086 GB, free: 8.949 MB / 0.7136 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.0008049/0.7479, allocations: 470 kB / 1.087 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.7481, allocations: 111.5 kB / 1.087 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.7494, allocations: 0.784 MB / 1.088 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.7494, allocations: 3.375 kB / 1.088 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.7494, allocations: 3.938 kB / 1.088 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.7494, allocations: 6.797 kB / 1.088 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002621/0.7521, allocations: 1.742 MB / 1.089 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.7521, allocations: 0 / 1.089 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.7523, allocations: 66.12 kB / 1.09 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004761/0.7528, allocations: 246.4 kB / 1.09 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.7529, allocations: 9.875 kB / 1.09 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000867/0.7537, allocations: 1.013 MB / 1.091 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.7537, allocations: 2.625 kB / 1.091 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.7551, allocations: 0.9032 MB / 1.092 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004603/0.7555, allocations: 225 kB / 1.092 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.7557, allocations: 11.16 kB / 1.092 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006122/0.7563, allocations: 62 kB / 1.092 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.977e-05/0.7564, allocations: 36.38 kB / 1.092 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.7564, allocations: 10.16 kB / 1.092 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001084/0.7575, allocations: 0.8264 MB / 1.093 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7575, allocations: 3.938 kB / 1.093 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001318/0.7589, allocations: 471.2 kB / 1.093 GB, free: 6.934 MB / 0.7136 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.0003804/0.7592, allocations: 183.3 kB / 1.093 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001924/0.7612, allocations: 1.152 MB / 1.095 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.7612, allocations: 6.938 kB / 1.095 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000476/0.7617, allocations: 250 kB / 1.095 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003189/0.7649, allocations: 0.6154 MB / 1.095 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.7677, allocations: 2.129 MB / 1.097 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006405/0.7684, allocations: 1.187 MB / 1.099 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.7685, allocations: 65.09 kB / 1.099 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of SimCode: time 6.52e-07/0.7685, allocations: 0 / 1.099 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of Templates: time 0.03011/0.7986, allocations: 21.23 MB / 1.119 GB, free: 14.08 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)