Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.735/2.735, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.001603/0.001603, allocations: 186.6 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.261/2.261, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001609/0.001608, allocations: 89.44 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005383/0.0005385, allocations: 11.28 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2342, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.9986/1.233, allocations: 135.6 MB / 1.111 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003995/1.237, allocations: 1.604 MB / 1.112 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004879/1.238, allocations: 14.2 kB / 1.112 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009255/1.238, allocations: 176.3 kB / 1.112 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002438/1.241, allocations: 493.7 kB / 1.113 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002365/1.243, allocations: 437.4 kB / 1.113 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001327/1.245, allocations: 361 kB / 1.114 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004905/1.245, allocations: 137.9 kB / 1.114 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008702/1.246, allocations: 221.4 kB / 1.114 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/1.246, allocations: 100.9 kB / 1.114 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.983e-05/1.246, allocations: 6.125 kB / 1.114 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/1.248, allocations: 390.8 kB / 1.114 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001785/1.248, allocations: 68.83 kB / 1.114 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/1.248, allocations: 67.86 kB / 1.115 GB, free: 0.9258 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0008359/1.249, allocations: 282 kB / 1.115 GB, free: 0.9023 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.249, allocations: 0 / 1.115 GB, free: 0.9023 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.605e-06/1.249, allocations: 0 / 1.115 GB, free: 0.9023 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.64e-05/1.249, allocations: 0 / 1.115 GB, free: 0.9023 MB / 0.6823 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.001131/1.25, allocations: 0.5319 MB / 1.115 GB, free: 16.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/1.25, allocations: 8.438 kB / 1.115 GB, free: 16.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005092/1.251, allocations: 53.33 kB / 1.115 GB, free: 16.44 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005563/1.252, allocations: 284.3 kB / 1.116 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/1.252, allocations: 10.31 kB / 1.116 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.044e-05/1.252, allocations: 16.83 kB / 1.116 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005986/1.252, allocations: 194.7 kB / 1.116 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/1.252, allocations: 0 / 1.116 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/1.252, allocations: 8.031 kB / 1.116 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/1.252, allocations: 6.219 kB / 1.116 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005357/1.253, allocations: 136.5 kB / 1.116 GB, free: 16.14 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.001673/1.255, allocations: 0.7954 MB / 1.117 GB, free: 15.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004465/1.255, allocations: 96.62 kB / 1.117 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.74e-05/1.255, allocations: 12.39 kB / 1.117 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/1.255, allocations: 34.77 kB / 1.117 GB, free: 15.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 2.756e-06/1.255, allocations: 0 / 1.117 GB, free: 15.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.001146/1.256, allocations: 234 kB / 1.117 GB, free: 15.47 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/1.256, allocations: 54.27 kB / 1.117 GB, free: 15.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004414/1.257, allocations: 266.8 kB / 1.117 GB, free: 15.31 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.631e-05/1.257, allocations: 27.08 kB / 1.117 GB, free: 15.28 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/1.257, allocations: 147.5 kB / 1.118 GB, free: 15.19 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/1.257, allocations: 36.84 kB / 1.118 GB, free: 15.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.108e-05/1.257, allocations: 1 kB / 1.118 GB, free: 15.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000177/1.257, allocations: 337.5 kB / 1.118 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/1.258, allocations: 42 kB / 1.118 GB, free: 14.85 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/1.258, allocations: 97.33 kB / 1.118 GB, free: 14.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/1.258, allocations: 56.06 kB / 1.118 GB, free: 14.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.258, allocations: 6.859 kB / 1.118 GB, free: 14.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006891/1.259, allocations: 165.6 kB / 1.118 GB, free: 14.74 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001868/1.259, allocations: 362.7 kB / 1.119 GB, free: 14.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/1.259, allocations: 6.016 kB / 1.119 GB, free: 14.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/1.259, allocations: 2.844 kB / 1.119 GB, free: 14.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/1.259, allocations: 27.11 kB / 1.119 GB, free: 14.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/1.259, allocations: 4 kB / 1.119 GB, free: 14.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/1.26, allocations: 25.45 kB / 1.119 GB, free: 14.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/1.26, allocations: 5.906 kB / 1.119 GB, free: 14.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/1.26, allocations: 2.844 kB / 1.119 GB, free: 14.36 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004814/1.26, allocations: 120.9 kB / 1.119 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/1.26, allocations: 3.562 kB / 1.119 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.188e-06/1.26, allocations: 0 / 1.119 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/1.261, allocations: 31.97 kB / 1.119 GB, free: 14.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/1.261, allocations: 3.5 kB / 1.119 GB, free: 14.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/1.261, allocations: 33.62 kB / 1.119 GB, free: 14.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/1.261, allocations: 5.125 kB / 1.119 GB, free: 14.33 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.0002774/1.261, allocations: 216.7 kB / 1.119 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.967e-05/1.261, allocations: 22.31 kB / 1.119 GB, free: 14.13 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006218/1.262, allocations: 174.4 kB / 1.119 GB, free: 14.08 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/1.262, allocations: 2.672 kB / 1.119 GB, free: 14.08 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.262, allocations: 96 / 1.119 GB, free: 14.08 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/1.262, allocations: 8.406 kB / 1.119 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/1.264, allocations: 0.6 MB / 1.12 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/1.264, allocations: 2.875 kB / 1.12 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/1.264, allocations: 32.72 kB / 1.12 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.108e-06/1.264, allocations: 3.078 kB / 1.12 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/1.264, allocations: 2.562 kB / 1.12 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/1.264, allocations: 3.328 kB / 1.12 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/1.264, allocations: 6.312 kB / 1.12 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006948/1.265, allocations: 386.7 kB / 1.12 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/1.265, allocations: 113.2 kB / 1.12 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.359e-05/1.265, allocations: 7.516 kB / 1.12 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003392/1.265, allocations: 20.59 kB / 1.12 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/1.265, allocations: 11.53 kB / 1.121 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/1.265, allocations: 4.875 kB / 1.121 GB, free: 13.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003012/1.266, allocations: 194.2 kB / 1.121 GB, free: 13.17 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.266, allocations: 0 / 1.121 GB, free: 13.17 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00072/1.266, allocations: 91.19 kB / 1.121 GB, free: 13.16 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.0005506/1.267, allocations: 176.7 kB / 1.121 GB, free: 13.05 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008143/1.268, allocations: 176.6 kB / 1.121 GB, free: 13.04 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/1.268, allocations: 0 / 1.121 GB, free: 13.04 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002699/1.268, allocations: 69.72 kB / 1.121 GB, free: 13.03 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/1.269, allocations: 131.5 kB / 1.121 GB, free: 13.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/1.271, allocations: 499.6 kB / 1.122 GB, free: 12.69 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/1.271, allocations: 0.7626 MB / 1.123 GB, free: 11.99 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004551/1.271, allocations: 63.47 kB / 1.123 GB, free: 11.99 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.071e-05/1.272, allocations: 21.2 kB / 1.123 GB, free: 11.98 MB / 0.698 GB Notification: Performance of SimCode: time 9.11e-07/1.272, allocations: 4 kB / 1.123 GB, free: 11.98 MB / 0.698 GB Notification: Performance of Templates: time 0.01352/1.285, allocations: 4.136 MB / 1.127 GB, free: 11.66 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)