Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000964/0.0009639, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007549/0.007549, allocations: 170 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.527/1.527, allocations: 252 MB / 0.5105 GB, free: 4.664 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009471/0.0009471, allocations: 16 kB / 0.6249 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5539/0.5548, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1641/0.7189, allocations: 157.4 MB / 0.8825 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0039/0.7229, allocations: 1.807 MB / 0.8842 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004906/0.7234, allocations: 7.938 kB / 0.8842 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006376/0.7241, allocations: 131.2 kB / 0.8844 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001804/0.7259, allocations: 0.4941 MB / 0.8848 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.7274, allocations: 341.2 kB / 0.8852 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003834/0.7312, allocations: 3.476 MB / 0.8886 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.7324, allocations: 0.7523 MB / 0.8893 GB, free: 6.254 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001766/0.7342, allocations: 0.9025 MB / 0.8902 GB, free: 5.348 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008949/0.7351, allocations: 0.7116 MB / 0.8909 GB, free: 4.633 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 7.745e-05/0.7352, allocations: 32 kB / 0.8909 GB, free: 4.602 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.7368, allocations: 0.795 MB / 0.8917 GB, free: 3.805 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003079/0.7371, allocations: 282.8 kB / 0.8919 GB, free: 3.527 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005951/0.7378, allocations: 0.5301 MB / 0.8925 GB, free: 2.988 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.7392, allocations: 1.366 MB / 0.8938 GB, free: 1.617 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.7392, allocations: 0 / 0.8938 GB, free: 1.617 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7392, allocations: 3.938 kB / 0.8938 GB, free: 1.613 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.7392, allocations: 0 / 0.8938 GB, free: 1.613 MB / 0.7012 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.7412, allocations: 1.268 MB / 0.895 GB, free: 288 kB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.7413, allocations: 8.031 kB / 0.895 GB, free: 280 kB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007183/0.742, allocations: 182.5 kB / 0.8952 GB, free: 96 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.7431, allocations: 0.806 MB / 0.896 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.48e-05/0.7432, allocations: 49 kB / 0.8961 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-05/0.7433, allocations: 60 kB / 0.8961 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.7444, allocations: 0.7965 MB / 0.8969 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.7444, allocations: 15.88 kB / 0.8969 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/0.7445, allocations: 20 kB / 0.8969 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.7445, allocations: 16 kB / 0.8969 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008708/0.7454, allocations: 0.5423 MB / 0.8975 GB, free: 13.66 MB / 0.7169 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.003786/0.7492, allocations: 4.595 MB / 0.902 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007346/0.7499, allocations: 422.2 kB / 0.9024 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004182/0.7504, allocations: 257.4 kB / 0.9026 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003371/0.7507, allocations: 194.2 kB / 0.9028 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005489/0.7513, allocations: 297 kB / 0.9031 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=31): time 2.225e-06/0.7513, allocations: 0 / 0.9031 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31): time 0.001381/0.7527, allocations: 0.6512 MB / 0.9037 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.7527, allocations: 85.09 kB / 0.9038 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.7541, allocations: 1.11 MB / 0.9049 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.956e-05/0.7542, allocations: 37.7 kB / 0.9049 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004058/0.7546, allocations: 488.1 kB / 0.9054 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.898e-05/0.7547, allocations: 110.5 kB / 0.9055 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.293e-05/0.7547, allocations: 45.7 kB / 0.9055 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.7549, allocations: 329.8 kB / 0.9058 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003596/0.7552, allocations: 216.9 kB / 0.906 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006346/0.7559, allocations: 0.5253 MB / 0.9066 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009224/0.7568, allocations: 0.6463 MB / 0.9072 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.7568, allocations: 0 / 0.9072 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001125/0.758, allocations: 0.724 MB / 0.9079 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001699/0.7581, allocations: 283 kB / 0.9082 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.7582, allocations: 4 kB / 0.9082 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.7582, allocations: 11.94 kB / 0.9082 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.7599, allocations: 363.4 kB / 0.9085 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4243/1.184, allocations: 6.08 MB / 0.9145 GB, free: 18.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/1.185, allocations: 103.2 kB / 0.9146 GB, free: 18.89 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/1.185, allocations: 25.17 kB / 0.9146 GB, free: 18.89 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/1.186, allocations: 4.219 kB / 0.9146 GB, free: 18.89 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001204/1.187, allocations: 0.5343 MB / 0.9151 GB, free: 18.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/1.187, allocations: 6.109 kB / 0.9151 GB, free: 18.86 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/1.187, allocations: 8.344 kB / 0.9151 GB, free: 18.86 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005798/1.187, allocations: 157.9 kB / 0.9153 GB, free: 18.86 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/1.187, allocations: 9.062 kB / 0.9153 GB, free: 18.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008848/1.188, allocations: 88.44 kB / 0.9154 GB, free: 18.86 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.518e-05/1.188, allocations: 27.17 kB / 0.9154 GB, free: 18.85 MB / 0.7169 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_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007395/1.189, allocations: 474.8 kB / 0.9158 GB, free: 18.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002768/1.189, allocations: 99.3 kB / 0.9159 GB, free: 18.66 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/1.191, allocations: 0.4979 MB / 0.9164 GB, free: 18.62 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.505e-06/1.191, allocations: 2.781 kB / 0.9164 GB, free: 18.62 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.191, allocations: 1.062 kB / 0.9164 GB, free: 18.62 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/1.191, allocations: 6.688 kB / 0.9164 GB, free: 18.62 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002869/1.193, allocations: 1.395 MB / 0.9178 GB, free: 18.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/1.193, allocations: 1.5 kB / 0.9178 GB, free: 18.19 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006631/1.194, allocations: 159.7 kB / 0.918 GB, free: 18.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/1.194, allocations: 3.438 kB / 0.918 GB, free: 18.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/1.194, allocations: 9.297 kB / 0.918 GB, free: 18.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/1.196, allocations: 6.027 MB / 0.9238 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.196, allocations: 2.438 kB / 0.9239 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009869/1.197, allocations: 0.6109 MB / 0.9244 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003638/1.198, allocations: 226.7 kB / 0.9247 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/1.198, allocations: 9.172 kB / 0.9247 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005047/1.198, allocations: 46.09 kB / 0.9247 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/1.198, allocations: 31.08 kB / 0.9247 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/1.198, allocations: 12.92 kB / 0.9248 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001336/1.2, allocations: 0.789 MB / 0.9255 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.21e-07/1.2, allocations: 0.75 kB / 0.9255 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001366/1.201, allocations: 408.7 kB / 0.9259 GB, free: 11.85 MB / 0.7169 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004246/1.202, allocations: 178.9 kB / 0.9261 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003428/1.205, allocations: 1.109 MB / 0.9272 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.205, allocations: 0.7188 kB / 0.9272 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008811/1.206, allocations: 309.4 kB / 0.9275 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002708/1.209, allocations: 460.7 kB / 0.9279 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/1.212, allocations: 2.106 MB / 0.93 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005732/1.213, allocations: 1.184 MB / 0.9311 GB, free: 9.863 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001064/1.214, allocations: 380 kB / 0.9315 GB, free: 9.82 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/1.214, allocations: 65.91 kB / 0.9315 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of SimCode: time 8.01e-07/1.214, allocations: 3 kB / 0.9315 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of Templates: time 0.03049/1.244, allocations: 17.2 MB / 0.9483 GB, free: 8.754 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) Environment - environmentSimulation: