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.001291/0.00129, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 195.4 kB / 16.53 MB, free: 6.699 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.804/1.804, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.748/1.748, allocations: 292.3 MB / 0.5488 GB, free: 12.84 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.001458/0.001458, allocations: 69.77 kB / 0.6715 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.323, allocations: 114.5 MB / 0.7833 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.8094/1.133, allocations: 161.5 MB / 0.9411 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003636/1.136, allocations: 1.69 MB / 0.9427 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005212/1.137, allocations: 16.2 kB / 0.9428 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008664/1.138, allocations: 156.1 kB / 0.9429 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002267/1.14, allocations: 0.5077 MB / 0.9434 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001766/1.142, allocations: 418.6 kB / 0.9438 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001213/1.143, allocations: 0.5677 MB / 0.9444 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004075/1.143, allocations: 173 kB / 0.9445 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008079/1.144, allocations: 321.6 kB / 0.9448 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003049/1.145, allocations: 154 kB / 0.945 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.726e-05/1.145, allocations: 13.09 kB / 0.945 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/1.146, allocations: 0.692 MB / 0.9457 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001615/1.146, allocations: 79.16 kB / 0.9457 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002095/1.147, allocations: 119.4 kB / 0.9459 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001065/1.148, allocations: 0.4921 MB / 0.9463 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.148, allocations: 0 / 0.9463 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.785e-06/1.148, allocations: 1.156 kB / 0.9463 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.63e-05/1.148, allocations: 0 / 0.9463 GB, free: 1.449 MB / 0.7169 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.001237/1.149, allocations: 0.5871 MB / 0.9469 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.312e-05/1.149, allocations: 9.656 kB / 0.9469 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004291/1.149, allocations: 53.19 kB / 0.947 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/1.15, allocations: 294.3 kB / 0.9472 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/1.15, allocations: 18.11 kB / 0.9473 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.406e-05/1.15, allocations: 14.66 kB / 0.9473 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005001/1.151, allocations: 191.2 kB / 0.9475 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/1.151, allocations: 0.7188 kB / 0.9475 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/1.151, allocations: 4.812 kB / 0.9475 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/1.151, allocations: 3.594 kB / 0.9475 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003948/1.151, allocations: 133.6 kB / 0.9476 GB, free: 16.66 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.001289/1.152, allocations: 0.7854 MB / 0.9484 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/1.153, allocations: 82.16 kB / 0.9484 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/1.153, allocations: 71.66 kB / 0.9485 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004841/1.153, allocations: 193.9 kB / 0.9487 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/1.153, allocations: 36.89 kB / 0.9487 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/1.153, allocations: 3.938 kB / 0.9487 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0008608/1.154, allocations: 223.5 kB / 0.9489 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/1.154, allocations: 56.47 kB / 0.949 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000379/1.155, allocations: 267.7 kB / 0.9493 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/1.155, allocations: 26.7 kB / 0.9493 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/1.155, allocations: 147.3 kB / 0.9494 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/1.155, allocations: 33.09 kB / 0.9495 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-05/1.155, allocations: 29.61 kB / 0.9495 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001665/1.155, allocations: 338 kB / 0.9498 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/1.155, allocations: 48.08 kB / 0.9499 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/1.156, allocations: 89.55 kB / 0.9499 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/1.156, allocations: 127.6 kB / 0.9501 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.156, allocations: 0 / 0.9501 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003666/1.156, allocations: 160.3 kB / 0.9502 GB, free: 15 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.156, allocations: 6.531 kB / 0.9502 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/1.156, allocations: 0 / 0.9502 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/1.156, allocations: 6.344 kB / 0.9502 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/1.156, allocations: 24.17 kB / 0.9502 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/1.156, allocations: 2.875 kB / 0.9502 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/1.157, allocations: 16.44 kB / 0.9503 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/1.157, allocations: 6.328 kB / 0.9503 GB, free: 15 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000224/1.157, allocations: 147 kB / 0.9504 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001619/1.157, allocations: 99.16 kB / 0.9505 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002521/1.157, allocations: 111.6 kB / 0.9506 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/1.157, allocations: 3.938 kB / 0.9506 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003631/1.158, allocations: 160.3 kB / 0.9508 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/1.158, allocations: 7.219 kB / 0.9508 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-06/1.158, allocations: 1.156 kB / 0.9508 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.007e-06/1.158, allocations: 2.25 kB / 0.9508 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/1.158, allocations: 24.22 kB / 0.9508 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/1.158, allocations: 4.938 kB / 0.9508 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/1.158, allocations: 20.97 kB / 0.9508 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/1.158, allocations: 6.656 kB / 0.9508 GB, free: 14.76 MB / 0.7325 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.0001445/1.158, allocations: 195.2 kB / 0.951 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.067e-05/1.158, allocations: 25.78 kB / 0.951 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004181/1.159, allocations: 162.8 kB / 0.9512 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/1.159, allocations: 5 kB / 0.9512 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/1.159, allocations: 2.016 kB / 0.9512 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/1.159, allocations: 1.125 kB / 0.9512 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/1.16, allocations: 0.5875 MB / 0.9518 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.16, allocations: 3.422 kB / 0.9518 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/1.16, allocations: 30.02 kB / 0.9518 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/1.16, allocations: 3.031 kB / 0.9518 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/1.16, allocations: 2.312 kB / 0.9518 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/1.16, allocations: 3.094 kB / 0.9518 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/1.16, allocations: 3.562 kB / 0.9518 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004415/1.16, allocations: 300.5 kB / 0.9521 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/1.161, allocations: 114.5 kB / 0.9522 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/1.161, allocations: 6.156 kB / 0.9522 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/1.161, allocations: 18.23 kB / 0.9522 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/1.161, allocations: 18.38 kB / 0.9523 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/1.161, allocations: 8.859 kB / 0.9523 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002147/1.161, allocations: 193.4 kB / 0.9525 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/1.161, allocations: 0 / 0.9525 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005399/1.162, allocations: 98.77 kB / 0.9525 GB, free: 13.7 MB / 0.7325 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.000433/1.162, allocations: 160.8 kB / 0.9527 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005424/1.163, allocations: 176.5 kB / 0.9529 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.163, allocations: 0.9062 kB / 0.9529 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001723/1.163, allocations: 60.17 kB / 0.9529 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007444/1.164, allocations: 120.2 kB / 0.953 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008051/1.164, allocations: 443.2 kB / 0.9535 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/1.165, allocations: 0.7608 MB / 0.9542 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002445/1.165, allocations: 64.27 kB / 0.9543 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/1.165, allocations: 20.5 kB / 0.9543 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/1.165, allocations: 0 / 0.9543 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of Templates: time 0.01139/1.177, allocations: 4.383 MB / 0.9586 GB, free: 12.27 MB / 0.7325 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)