Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.785/1.785, allocations: 288.4 MB / 303.4 MB, free: 8.121 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001303/0.001303, allocations: 180.5 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.814/1.814, allocations: 205.4 MB / 0.6307 GB, free: 9.961 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008213/0.0008216, allocations: 90.34 kB / 0.7441 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004728, allocations: 16.08 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2483, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.7578/1.006, allocations: 146.6 MB / 1.123 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003306/1.01, allocations: 1.595 MB / 1.124 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003667/1.01, allocations: 12.19 kB / 1.124 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005303/1.011, allocations: 105.9 kB / 1.124 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001341/1.012, allocations: 380.7 kB / 1.125 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001255/1.013, allocations: 359.7 kB / 1.125 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0008867/1.014, allocations: 0.6484 MB / 1.126 GB, free: 1.41 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002882/1.014, allocations: 134 kB / 1.126 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006112/1.015, allocations: 263.5 kB / 1.126 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/1.015, allocations: 150.7 kB / 1.126 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/1.015, allocations: 6.656 kB / 1.126 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/1.016, allocations: 0.5238 MB / 1.127 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 9.511e-05/1.016, allocations: 75.92 kB / 1.127 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001379/1.016, allocations: 66.98 kB / 1.127 GB, free: 17.2 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005057/1.017, allocations: 330.6 kB / 1.127 GB, free: 17.17 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.017, allocations: 5.062 kB / 1.127 GB, free: 17.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.944e-06/1.017, allocations: 0 / 1.127 GB, free: 17.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.142e-06/1.017, allocations: 0 / 1.127 GB, free: 17.16 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008326/1.018, allocations: 0.5498 MB / 1.128 GB, free: 16.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/1.018, allocations: 11.8 kB / 1.128 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004428/1.018, allocations: 53.03 kB / 1.128 GB, free: 16.69 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004088/1.019, allocations: 278 kB / 1.128 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/1.019, allocations: 16.62 kB / 1.128 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/1.019, allocations: 13.81 kB / 1.128 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004613/1.019, allocations: 191.3 kB / 1.128 GB, free: 16.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/1.019, allocations: 1.859 kB / 1.128 GB, free: 16.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/1.019, allocations: 5.406 kB / 1.128 GB, free: 16.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/1.019, allocations: 7.281 kB / 1.128 GB, free: 16.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003622/1.02, allocations: 136.9 kB / 1.129 GB, free: 16.39 MB / 0.698 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.001165/1.021, allocations: 0.7855 MB / 1.129 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/1.021, allocations: 88.09 kB / 1.129 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/1.021, allocations: 87.05 kB / 1.129 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003477/1.022, allocations: 193.3 kB / 1.13 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/1.022, allocations: 30.56 kB / 1.13 GB, free: 15.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/1.022, allocations: 2.969 kB / 1.13 GB, free: 15.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0007234/1.023, allocations: 233.7 kB / 1.13 GB, free: 15.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/1.023, allocations: 57.62 kB / 1.13 GB, free: 15.47 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003448/1.023, allocations: 266.9 kB / 1.13 GB, free: 15.37 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/1.023, allocations: 31.39 kB / 1.13 GB, free: 15.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/1.023, allocations: 149.1 kB / 1.13 GB, free: 15.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/1.023, allocations: 33.22 kB / 1.13 GB, free: 15.22 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-06/1.023, allocations: 3.25 kB / 1.13 GB, free: 15.22 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.023, allocations: 339 kB / 1.131 GB, free: 14.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/1.023, allocations: 38 kB / 1.131 GB, free: 14.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/1.024, allocations: 100.9 kB / 1.131 GB, free: 14.85 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/1.024, allocations: 51.02 kB / 1.131 GB, free: 14.85 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.024, allocations: 6.5 kB / 1.131 GB, free: 14.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000327/1.024, allocations: 168 kB / 1.131 GB, free: 14.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.197e-05/1.024, allocations: 113.8 kB / 1.131 GB, free: 14.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.024, allocations: 0 / 1.131 GB, free: 14.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/1.024, allocations: 1.906 kB / 1.131 GB, free: 14.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/1.024, allocations: 24.77 kB / 1.131 GB, free: 14.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/1.024, allocations: 3.938 kB / 1.131 GB, free: 14.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/1.025, allocations: 32.83 kB / 1.131 GB, free: 14.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/1.025, allocations: 8.609 kB / 1.131 GB, free: 14.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.603e-06/1.025, allocations: 2.969 kB / 1.131 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002802/1.025, allocations: 115.8 kB / 1.131 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-06/1.025, allocations: 0 / 1.131 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-06/1.025, allocations: 0 / 1.131 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/1.025, allocations: 30.34 kB / 1.131 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/1.025, allocations: 5.797 kB / 1.131 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/1.025, allocations: 30.11 kB / 1.131 GB, free: 14.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/1.025, allocations: 2.781 kB / 1.131 GB, free: 14.64 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001646/1.025, allocations: 219 kB / 1.132 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/1.025, allocations: 27.17 kB / 1.132 GB, free: 14.44 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003755/1.026, allocations: 171.2 kB / 1.132 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/1.026, allocations: 3.984 kB / 1.132 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/1.026, allocations: 0 / 1.132 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/1.026, allocations: 2.531 kB / 1.132 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009177/1.027, allocations: 0.6023 MB / 1.132 GB, free: 14.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/1.027, allocations: 5.906 kB / 1.132 GB, free: 14.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/1.027, allocations: 26.86 kB / 1.132 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/1.027, allocations: 3.188 kB / 1.132 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/1.027, allocations: 8.844 kB / 1.132 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/1.027, allocations: 3.406 kB / 1.132 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.027, allocations: 6.438 kB / 1.132 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003826/1.027, allocations: 303.5 kB / 1.133 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/1.028, allocations: 119.8 kB / 1.133 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/1.028, allocations: 3.312 kB / 1.133 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/1.028, allocations: 19.47 kB / 1.133 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/1.028, allocations: 14.25 kB / 1.133 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/1.028, allocations: 5.781 kB / 1.133 GB, free: 13.68 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001842/1.028, allocations: 195.1 kB / 1.133 GB, free: 13.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.028, allocations: 0 / 1.133 GB, free: 13.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004471/1.028, allocations: 91.53 kB / 1.133 GB, free: 13.59 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004559/1.029, allocations: 172.4 kB / 1.133 GB, free: 13.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004647/1.029, allocations: 174.9 kB / 1.134 GB, free: 13.47 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.029, allocations: 0 / 1.134 GB, free: 13.47 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/1.03, allocations: 63.5 kB / 1.134 GB, free: 13.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008364/1.03, allocations: 143.6 kB / 1.134 GB, free: 13.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007752/1.031, allocations: 0.4953 MB / 1.134 GB, free: 13.11 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/1.032, allocations: 0.7627 MB / 1.135 GB, free: 12.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002183/1.032, allocations: 69.83 kB / 1.135 GB, free: 12.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.225e-05/1.032, allocations: 18.25 kB / 1.135 GB, free: 12.39 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/1.032, allocations: 4 kB / 1.135 GB, free: 12.39 MB / 0.698 GB Notification: Performance of Templates: time 0.008212/1.04, allocations: 4.135 MB / 1.139 GB, free: 11.07 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)