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.001571/0.001571, allocations: 105.1 kB / 16.35 MB, free: 5.879 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.001695/0.001695, allocations: 195.2 kB / 17.29 MB, free: 5.516 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.553/1.553, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.886/1.886, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001414/0.001414, allocations: 74.86 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2256, allocations: 114.5 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.5819/0.8076, allocations: 161.5 MB / 0.9425 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002865/0.8105, allocations: 1.703 MB / 0.9442 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.8108, allocations: 7.938 kB / 0.9442 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000601/0.8115, allocations: 151 kB / 0.9443 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001287/0.8128, allocations: 0.5133 MB / 0.9448 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.8139, allocations: 429.5 kB / 0.9452 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008644/0.8148, allocations: 0.5654 MB / 0.9458 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003289/0.8152, allocations: 177 kB / 0.9459 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006629/0.8158, allocations: 318.7 kB / 0.9462 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.8161, allocations: 151.3 kB / 0.9464 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.8161, allocations: 12 kB / 0.9464 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.8175, allocations: 0.6938 MB / 0.9471 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.8176, allocations: 89.22 kB / 0.9472 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.8178, allocations: 123.3 kB / 0.9473 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008523/0.8186, allocations: 0.4906 MB / 0.9478 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.966e-06/0.8186, allocations: 4 kB / 0.9478 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.867e-06/0.8187, allocations: 0 / 0.9478 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.8187, allocations: 3.938 kB / 0.9478 GB, free: 3.156 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.0009162/0.8196, allocations: 0.5796 MB / 0.9483 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.8196, allocations: 8.031 kB / 0.9483 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003674/0.82, allocations: 59.58 kB / 0.9484 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000394/0.8204, allocations: 289.3 kB / 0.9487 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.8205, allocations: 12 kB / 0.9487 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.8205, allocations: 12 kB / 0.9487 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003809/0.8209, allocations: 193.2 kB / 0.9489 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.8209, allocations: 0 / 0.9489 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.8209, allocations: 7.938 kB / 0.9489 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.8209, allocations: 4 kB / 0.9489 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002917/0.8212, allocations: 132.7 kB / 0.949 GB, free: 1.777 MB / 0.7325 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.001005/0.8223, allocations: 0.7885 MB / 0.9498 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.8225, allocations: 78.53 kB / 0.9499 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.8227, allocations: 80.86 kB / 0.9499 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003628/0.823, allocations: 186.1 kB / 0.9501 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.8231, allocations: 47.67 kB / 0.9502 GB, free: 488 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.8231, allocations: 1.219 kB / 0.9502 GB, free: 488 kB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0007219/0.8238, allocations: 213.2 kB / 0.9504 GB, free: 268 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.8239, allocations: 51.41 kB / 0.9504 GB, free: 204 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000313/0.8242, allocations: 275 kB / 0.9507 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.8242, allocations: 31.11 kB / 0.9507 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.675e-05/0.8243, allocations: 144 kB / 0.9508 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/0.8244, allocations: 39.44 kB / 0.9509 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.8245, allocations: 29.72 kB / 0.9509 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.8246, allocations: 330.8 kB / 0.9512 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.8247, allocations: 44.83 kB / 0.9513 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.8249, allocations: 97.09 kB / 0.9514 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.8251, allocations: 115.3 kB / 0.9515 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8251, allocations: 4 kB / 0.9515 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000319/0.8255, allocations: 162.6 kB / 0.9516 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.8255, allocations: 4.781 kB / 0.9516 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.8255, allocations: 4 kB / 0.9516 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.8255, allocations: 3.938 kB / 0.9516 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.8257, allocations: 23.98 kB / 0.9517 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.8257, allocations: 4.812 kB / 0.9517 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.8258, allocations: 24.05 kB / 0.9517 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.8259, allocations: 4 kB / 0.9517 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001815/0.8261, allocations: 144.1 kB / 0.9518 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001501/0.8262, allocations: 94.27 kB / 0.9519 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002404/0.8265, allocations: 127.3 kB / 0.952 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-06/0.8265, allocations: 0 / 0.952 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002995/0.8268, allocations: 149.4 kB / 0.9522 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.8268, allocations: 8 kB / 0.9522 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.8268, allocations: 2.094 kB / 0.9522 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-06/0.8268, allocations: 0 / 0.9522 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.8269, allocations: 27.95 kB / 0.9522 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.8269, allocations: 7.938 kB / 0.9522 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.8271, allocations: 23.83 kB / 0.9523 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.8271, allocations: 4 kB / 0.9523 GB, free: 14.2 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.0001274/0.8273, allocations: 185.3 kB / 0.9524 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.915e-05/0.8273, allocations: 27.66 kB / 0.9525 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003657/0.8277, allocations: 168.2 kB / 0.9526 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.8277, allocations: 0 / 0.9526 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.8277, allocations: 3.984 kB / 0.9526 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.8277, allocations: 0 / 0.9526 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008612/0.8286, allocations: 0.5894 MB / 0.9532 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.8286, allocations: 4 kB / 0.9532 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.8287, allocations: 23.92 kB / 0.9532 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.8288, allocations: 4 kB / 0.9532 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.8288, allocations: 4 kB / 0.9532 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.8288, allocations: 2.016 kB / 0.9532 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.8288, allocations: 11.98 kB / 0.9532 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.8292, allocations: 293.2 kB / 0.9535 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.8293, allocations: 124.7 kB / 0.9536 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.8293, allocations: 3.984 kB / 0.9537 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.8295, allocations: 11.98 kB / 0.9537 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/0.8296, allocations: 15.94 kB / 0.9537 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.8296, allocations: 13.23 kB / 0.9537 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002056/0.8298, allocations: 194 kB / 0.9539 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8298, allocations: 0 / 0.9539 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004772/0.8303, allocations: 89.72 kB / 0.954 GB, free: 12.32 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.0004062/0.8307, allocations: 166.6 kB / 0.9541 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004986/0.8312, allocations: 167.8 kB / 0.9543 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.8312, allocations: 0 / 0.9543 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.8314, allocations: 59.89 kB / 0.9543 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007053/0.8321, allocations: 115.4 kB / 0.9544 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006976/0.8328, allocations: 439.2 kB / 0.9549 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.8331, allocations: 0.7519 MB / 0.9556 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000197/0.8333, allocations: 75.75 kB / 0.9557 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.4e-05/0.8334, allocations: 23.42 kB / 0.9557 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of SimCode: time 5.71e-07/0.8334, allocations: 0 / 0.9557 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of Templates: time 0.008838/0.8423, allocations: 4.381 MB / 0.96 GB, free: 6.215 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)