Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.001356, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001654/0.001654, allocations: 191.9 kB / 16.25 MB, free: 6.625 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.783/1.783, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.764/1.764, allocations: 292.2 MB / 0.5485 GB, free: 13.66 MB / 462.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.001358/0.001358, allocations: 67.22 kB / 0.671 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2857, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.7973/1.083, allocations: 159.3 MB / 0.9384 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003282/1.086, allocations: 1.689 MB / 0.9401 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004356/1.087, allocations: 11.28 kB / 0.9401 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006475/1.087, allocations: 137.6 kB / 0.9402 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001518/1.089, allocations: 494.1 kB / 0.9407 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00123/1.09, allocations: 387.2 kB / 0.9411 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007551/1.091, allocations: 0.5678 MB / 0.9416 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003422/1.091, allocations: 168.4 kB / 0.9418 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000707/1.092, allocations: 315.6 kB / 0.9421 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/1.092, allocations: 164.5 kB / 0.9422 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/1.092, allocations: 17.12 kB / 0.9422 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/1.094, allocations: 0.7116 MB / 0.9429 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001303/1.094, allocations: 76.98 kB / 0.943 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001409/1.094, allocations: 115.1 kB / 0.9431 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008682/1.095, allocations: 0.5278 MB / 0.9436 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/1.095, allocations: 6.453 kB / 0.9436 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.923e-06/1.095, allocations: 0 / 0.9436 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.655e-06/1.095, allocations: 0 / 0.9436 GB, free: 5.891 MB / 0.7325 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.001162/1.096, allocations: 0.5814 MB / 0.9442 GB, free: 21.42 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/1.096, allocations: 10.31 kB / 0.9442 GB, free: 21.42 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000343/1.096, allocations: 59.75 kB / 0.9443 GB, free: 21.4 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/1.097, allocations: 291.9 kB / 0.9446 GB, free: 21.17 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/1.097, allocations: 13.22 kB / 0.9446 GB, free: 21.17 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/1.097, allocations: 14.5 kB / 0.9446 GB, free: 21.17 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/1.097, allocations: 192.3 kB / 0.9448 GB, free: 21.11 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/1.097, allocations: 4 kB / 0.9448 GB, free: 21.11 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/1.097, allocations: 6.844 kB / 0.9448 GB, free: 21.11 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/1.097, allocations: 3.438 kB / 0.9448 GB, free: 21.11 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/1.098, allocations: 129.5 kB / 0.9449 GB, free: 21.11 MB / 0.7481 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.00102/1.099, allocations: 0.7845 MB / 0.9457 GB, free: 20.58 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/1.099, allocations: 87.42 kB / 0.9457 GB, free: 20.55 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/1.099, allocations: 73.95 kB / 0.9458 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003707/1.099, allocations: 187.9 kB / 0.946 GB, free: 20.36 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/1.099, allocations: 34.27 kB / 0.946 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=10): time 2.706e-06/1.099, allocations: 0 / 0.946 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0006525/1.1, allocations: 221.2 kB / 0.9462 GB, free: 20.27 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/1.1, allocations: 54.64 kB / 0.9463 GB, free: 20.2 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/1.1, allocations: 267.2 kB / 0.9466 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/1.1, allocations: 31.83 kB / 0.9466 GB, free: 20.07 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.658e-05/1.101, allocations: 143.9 kB / 0.9467 GB, free: 19.98 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/1.101, allocations: 38.23 kB / 0.9468 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.375e-05/1.101, allocations: 32.2 kB / 0.9468 GB, free: 19.94 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.101, allocations: 332.4 kB / 0.9471 GB, free: 19.62 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/1.101, allocations: 50.06 kB / 0.9471 GB, free: 19.62 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/1.101, allocations: 93.34 kB / 0.9472 GB, free: 19.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/1.101, allocations: 119.2 kB / 0.9474 GB, free: 19.54 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.101, allocations: 1.094 kB / 0.9474 GB, free: 19.54 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003325/1.102, allocations: 161.1 kB / 0.9475 GB, free: 19.49 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/1.102, allocations: 10.56 kB / 0.9475 GB, free: 19.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/1.102, allocations: 0.5156 kB / 0.9475 GB, free: 19.49 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/1.102, allocations: 6.938 kB / 0.9475 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/1.102, allocations: 27.48 kB / 0.9476 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/1.102, allocations: 0 / 0.9476 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/1.102, allocations: 19.78 kB / 0.9476 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/1.102, allocations: 7.547 kB / 0.9476 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001901/1.102, allocations: 151.5 kB / 0.9477 GB, free: 19.39 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001439/1.102, allocations: 93.5 kB / 0.9478 GB, free: 19.34 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002314/1.103, allocations: 123.4 kB / 0.9479 GB, free: 19.3 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.12e-07/1.103, allocations: 0 / 0.9479 GB, free: 19.3 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003166/1.103, allocations: 155.9 kB / 0.9481 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.395e-06/1.103, allocations: 5.312 kB / 0.9481 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/1.103, allocations: 1.219 kB / 0.9481 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.85e-06/1.103, allocations: 1.797 kB / 0.9481 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/1.103, allocations: 21.83 kB / 0.9481 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/1.103, allocations: 8.328 kB / 0.9481 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/1.103, allocations: 22.64 kB / 0.9481 GB, free: 19.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/1.103, allocations: 3.781 kB / 0.9481 GB, free: 19.25 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001224/1.104, allocations: 187 kB / 0.9483 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/1.104, allocations: 25.12 kB / 0.9483 GB, free: 19.06 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003908/1.104, allocations: 157.3 kB / 0.9485 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/1.104, allocations: 9.469 kB / 0.9485 GB, free: 19.01 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.104, allocations: 0 / 0.9485 GB, free: 19.01 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/1.104, allocations: 0 / 0.9485 GB, free: 19.01 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009683/1.105, allocations: 0.5949 MB / 0.9491 GB, free: 18.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/1.105, allocations: 1.312 kB / 0.9491 GB, free: 18.65 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/1.105, allocations: 21.78 kB / 0.9491 GB, free: 18.65 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/1.105, allocations: 5.906 kB / 0.9491 GB, free: 18.65 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/1.105, allocations: 3.531 kB / 0.9491 GB, free: 18.65 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/1.105, allocations: 5.297 kB / 0.9491 GB, free: 18.65 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.105, allocations: 4.344 kB / 0.9491 GB, free: 18.65 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004339/1.106, allocations: 305.3 kB / 0.9494 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/1.106, allocations: 116.6 kB / 0.9495 GB, free: 18.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/1.106, allocations: 8.188 kB / 0.9495 GB, free: 18.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/1.106, allocations: 11.47 kB / 0.9495 GB, free: 18.33 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/1.106, allocations: 16.64 kB / 0.9496 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/1.106, allocations: 7.156 kB / 0.9496 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002413/1.106, allocations: 196.5 kB / 0.9498 GB, free: 18.24 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.106, allocations: 0.875 kB / 0.9498 GB, free: 18.24 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005933/1.107, allocations: 90.36 kB / 0.9498 GB, free: 18.23 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004756/1.107, allocations: 166.5 kB / 0.95 GB, free: 18.13 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005664/1.108, allocations: 170.1 kB / 0.9502 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.108, allocations: 0.8438 kB / 0.9502 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/1.108, allocations: 62.92 kB / 0.9502 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000768/1.109, allocations: 117.2 kB / 0.9503 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007567/1.11, allocations: 0.4975 MB / 0.9508 GB, free: 17.77 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/1.11, allocations: 0.7557 MB / 0.9516 GB, free: 17.07 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002534/1.11, allocations: 76.56 kB / 0.9516 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.725e-05/1.11, allocations: 24.11 kB / 0.9517 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of SimCode: time 4.2e-07/1.111, allocations: 0.5938 kB / 0.9517 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of Templates: time 0.01094/1.121, allocations: 4.313 MB / 0.9559 GB, free: 16.77 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)