Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.392/1.392, allocations: 252 MB / 268 MB, free: 10.87 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.0009153/0.0009155, allocations: 178.7 kB / 327.6 MB, free: 2.086 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.487/1.487, allocations: 205.4 MB / 0.5786 GB, free: 20.12 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.0007924/0.0007924, allocations: 87.73 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000298/0.000298, allocations: 8.281 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1665, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.521/0.6876, allocations: 163.5 MB / 1.061 GB, free: 1.965 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0031/0.6908, allocations: 2.238 MB / 1.063 GB, free: 1.926 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004128/0.6912, allocations: 11.28 kB / 1.063 GB, free: 1.926 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006002/0.6918, allocations: 205.9 kB / 1.064 GB, free: 1.918 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.6934, allocations: 0.6225 MB / 1.064 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.6946, allocations: 399 kB / 1.064 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003562/0.6982, allocations: 3.79 MB / 1.068 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003021/0.7012, allocations: 2.354 MB / 1.07 GB, free: 1.539 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002407/0.7037, allocations: 1.088 MB / 1.072 GB, free: 1.527 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.7051, allocations: 0.8837 MB / 1.072 GB, free: 1.527 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.7052, allocations: 48 kB / 1.072 GB, free: 1.527 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002024/0.7073, allocations: 0.9043 MB / 1.073 GB, free: 1.516 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000505/0.7078, allocations: 337.4 kB / 1.074 GB, free: 1.512 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.7088, allocations: 0.6028 MB / 1.074 GB, free: 1.48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.7103, allocations: 1.194 MB / 1.075 GB, free: 1.371 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.7103, allocations: 2.875 kB / 1.075 GB, free: 1.371 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7103, allocations: 0 / 1.075 GB, free: 1.371 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.833e-05/0.7103, allocations: 0 / 1.075 GB, free: 1.371 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002706/0.713, allocations: 1.507 MB / 1.077 GB, free: 16.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.7131, allocations: 8.75 kB / 1.077 GB, free: 16.52 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00076/0.7138, allocations: 194.9 kB / 1.077 GB, free: 16.46 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.7153, allocations: 0.9214 MB / 1.078 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.272e-05/0.7154, allocations: 48.19 kB / 1.078 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.7155, allocations: 64.94 kB / 1.078 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.7169, allocations: 0.9976 MB / 1.079 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.7169, allocations: 4.406 kB / 1.079 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.545e-05/0.717, allocations: 24.53 kB / 1.079 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.717, allocations: 13.38 kB / 1.079 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.7183, allocations: 0.8089 MB / 1.08 GB, free: 15.84 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.004534/0.7229, allocations: 4.818 MB / 1.085 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002347/0.7253, allocations: 4.033 MB / 1.089 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004622/0.7257, allocations: 349.5 kB / 1.089 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002913/0.726, allocations: 204 kB / 1.089 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004903/0.7265, allocations: 328.5 kB / 1.089 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004744/0.727, allocations: 33 kB / 1.089 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=35): time 2.275e-06/0.727, allocations: 0 / 1.089 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35): time 0.004354/0.7314, allocations: 1.619 MB / 1.091 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.7315, allocations: 87.41 kB / 1.091 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.7327, allocations: 1.183 MB / 1.092 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.617e-05/0.7328, allocations: 36.62 kB / 1.092 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000352/0.7331, allocations: 0.5166 MB / 1.093 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.416e-05/0.7332, allocations: 123.4 kB / 1.093 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/0.7333, allocations: 10.22 kB / 1.093 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.7334, allocations: 326.5 kB / 1.093 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003455/0.7337, allocations: 234.5 kB / 1.093 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000552/0.7343, allocations: 0.5666 MB / 1.094 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008527/0.7351, allocations: 0.6996 MB / 1.095 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.7352, allocations: 0 / 1.095 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001975/0.7371, allocations: 1.138 MB / 1.096 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001719/0.7373, allocations: 274.5 kB / 1.096 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.7373, allocations: 4.219 kB / 1.096 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.7386, allocations: 367.6 kB / 1.096 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.7389, allocations: 110.5 kB / 1.097 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008849/0.7398, allocations: 1.006 MB / 1.097 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.7409, allocations: 96.52 kB / 1.098 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-05/0.741, allocations: 24.28 kB / 1.098 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.385e-06/0.741, allocations: 3.469 kB / 1.098 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001228/0.7422, allocations: 0.8027 MB / 1.098 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.7422, allocations: 3.594 kB / 1.098 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004918/0.7427, allocations: 238.3 kB / 1.099 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.7431, allocations: 108.4 kB / 1.099 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003079/0.7462, allocations: 2.934 MB / 1.102 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.7474, allocations: 97.09 kB / 1.102 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-05/0.7474, allocations: 23.78 kB / 1.102 GB, free: 3.812 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 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0006598/0.7481, allocations: 480 kB / 1.102 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.7483, allocations: 114.9 kB / 1.102 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.7495, allocations: 0.7825 MB / 1.103 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.7495, allocations: 3.156 kB / 1.103 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.7496, allocations: 3 kB / 1.103 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.7496, allocations: 7.219 kB / 1.103 GB, free: 3.453 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 postOpt removeSimpleEquations (simulation): time 0.002748/0.7523, allocations: 2.134 MB / 1.105 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.882e-06/0.7523, allocations: 5.719 kB / 1.105 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003067/0.7527, allocations: 84.81 kB / 1.105 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003489/0.753, allocations: 173.3 kB / 1.105 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.7531, allocations: 8.812 kB / 1.105 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006753/0.7537, allocations: 0.8628 MB / 1.106 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.7537, allocations: 2.875 kB / 1.106 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.7549, allocations: 0.8481 MB / 1.107 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004437/0.7553, allocations: 237.3 kB / 1.107 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.7555, allocations: 27.17 kB / 1.107 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000655/0.7561, allocations: 71.98 kB / 1.107 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.22e-05/0.7562, allocations: 26.58 kB / 1.107 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.7563, allocations: 14.64 kB / 1.107 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009364/0.7572, allocations: 0.8394 MB / 1.108 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7572, allocations: 0 / 1.108 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001355/0.7586, allocations: 0.506 MB / 1.109 GB, free: 1.469 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 (25): * Single equations (assignments): 22 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004621/0.759, allocations: 186.9 kB / 1.109 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001911/0.761, allocations: 1.164 MB / 1.11 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.761, allocations: 0 / 1.11 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003791/0.7614, allocations: 249.8 kB / 1.11 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003503/0.7649, allocations: 0.6391 MB / 1.111 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/0.7679, allocations: 2.258 MB / 1.113 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006549/0.7686, allocations: 1.21 MB / 1.114 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.7688, allocations: 75.44 kB / 1.114 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of SimCode: time 6.91e-07/0.7688, allocations: 3.031 kB / 1.114 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of Templates: time 0.0297/0.7985, allocations: 22.39 MB / 1.136 GB, free: 5.07 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)