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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.776/1.776, allocations: 292.3 MB / 308.1 MB, free: 4.301 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.001275/0.001275, allocations: 195.9 kB / 376.9 MB, free: 1.816 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.731/1.731, allocations: 205 MB / 0.6354 GB, free: 9.766 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 105.2 kB / 0.748 GB, free: 61.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 55.91 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3024, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.7868/1.089, allocations: 159.3 MB / 1.138 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002942/1.092, allocations: 1.719 MB / 1.139 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003675/1.093, allocations: 14 kB / 1.139 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006193/1.093, allocations: 132.5 kB / 1.14 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001322/1.095, allocations: 492.3 kB / 1.14 GB, free: 0.7031 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0012/1.096, allocations: 373.2 kB / 1.14 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009011/1.097, allocations: 0.767 MB / 1.141 GB, free: 256 kB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000272/1.097, allocations: 147.7 kB / 1.141 GB, free: 200 kB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006018/1.098, allocations: 298.9 kB / 1.142 GB, free: 72 kB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/1.098, allocations: 161.6 kB / 1.142 GB, free: 4 kB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/1.098, allocations: 10.41 kB / 1.142 GB, free: 0 / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001397/1.099, allocations: 0.7769 MB / 1.142 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/1.1, allocations: 69.48 kB / 1.143 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/1.1, allocations: 115.2 kB / 1.143 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0007475/1.1, allocations: 0.5117 MB / 1.143 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.1, allocations: 0 / 1.143 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.513e-06/1.1, allocations: 0 / 1.143 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.03e-06/1.1, allocations: 0 / 1.143 GB, free: 15.46 MB / 0.7605 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.0009326/1.101, allocations: 0.5913 MB / 1.144 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/1.101, allocations: 9 kB / 1.144 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003443/1.102, allocations: 53.73 kB / 1.144 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/1.102, allocations: 292.8 kB / 1.144 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/1.102, allocations: 15.38 kB / 1.144 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/1.102, allocations: 13.44 kB / 1.144 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003647/1.103, allocations: 194.5 kB / 1.144 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/1.103, allocations: 3.375 kB / 1.144 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/1.103, allocations: 4 kB / 1.144 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/1.103, allocations: 6.344 kB / 1.144 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002904/1.103, allocations: 125.3 kB / 1.144 GB, free: 14.54 MB / 0.7605 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.001062/1.104, allocations: 0.7841 MB / 1.145 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/1.104, allocations: 88.27 kB / 1.145 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/1.105, allocations: 76.09 kB / 1.145 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00038/1.105, allocations: 192.2 kB / 1.146 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/1.105, allocations: 38.5 kB / 1.146 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/1.105, allocations: 0 / 1.146 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of matching and sorting (n=10): time 0.0006611/1.106, allocations: 216.1 kB / 1.146 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/1.106, allocations: 54.83 kB / 1.146 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/1.106, allocations: 270.3 kB / 1.146 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/1.106, allocations: 29.7 kB / 1.146 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/1.106, allocations: 143.7 kB / 1.146 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/1.106, allocations: 37.5 kB / 1.146 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/1.106, allocations: 31.19 kB / 1.146 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.106, allocations: 340 kB / 1.147 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/1.106, allocations: 46.47 kB / 1.147 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/1.107, allocations: 92.23 kB / 1.147 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/1.107, allocations: 121.9 kB / 1.147 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.107, allocations: 3.156 kB / 1.147 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003316/1.107, allocations: 165.5 kB / 1.147 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/1.107, allocations: 7.656 kB / 1.147 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/1.107, allocations: 3.281 kB / 1.147 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/1.107, allocations: 3.938 kB / 1.147 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/1.107, allocations: 22.19 kB / 1.147 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/1.107, allocations: 0.7031 kB / 1.147 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/1.108, allocations: 16.91 kB / 1.147 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/1.108, allocations: 9.781 kB / 1.147 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001924/1.108, allocations: 148.2 kB / 1.147 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001612/1.108, allocations: 92.08 kB / 1.147 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002309/1.108, allocations: 123.2 kB / 1.147 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/1.108, allocations: 0 / 1.147 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003015/1.109, allocations: 149 kB / 1.148 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.823e-06/1.109, allocations: 6.438 kB / 1.148 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-06/1.109, allocations: 0 / 1.148 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.837e-06/1.109, allocations: 4.281 kB / 1.148 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/1.109, allocations: 27.36 kB / 1.148 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/1.109, allocations: 14.34 kB / 1.148 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/1.109, allocations: 17.89 kB / 1.148 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/1.109, allocations: 3.094 kB / 1.148 GB, free: 12.21 MB / 0.7605 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.0001101/1.109, allocations: 183.6 kB / 1.148 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/1.109, allocations: 27.45 kB / 1.148 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003616/1.11, allocations: 164.1 kB / 1.148 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/1.11, allocations: 7.469 kB / 1.148 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.11, allocations: 0 / 1.148 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/1.11, allocations: 0 / 1.148 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008403/1.11, allocations: 0.5912 MB / 1.149 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.11, allocations: 3.875 kB / 1.149 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/1.111, allocations: 24.55 kB / 1.149 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.116e-05/1.111, allocations: 3.156 kB / 1.149 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/1.111, allocations: 7.281 kB / 1.149 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/1.111, allocations: 8.375 kB / 1.149 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.111, allocations: 0 / 1.149 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007711/1.111, allocations: 0.9302 MB / 1.15 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/1.111, allocations: 113 kB / 1.15 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/1.112, allocations: 10.55 kB / 1.15 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/1.112, allocations: 21.56 kB / 1.15 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/1.112, allocations: 10.59 kB / 1.15 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/1.112, allocations: 10.62 kB / 1.15 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000167/1.112, allocations: 191.7 kB / 1.15 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.11e-07/1.112, allocations: 0 / 1.15 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006402/1.113, allocations: 97.69 kB / 1.15 GB, free: 10.35 MB / 0.7605 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.0003681/1.113, allocations: 159.9 kB / 1.15 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000433/1.113, allocations: 161.5 kB / 1.15 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/1.113, allocations: 0.5625 kB / 1.15 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/1.114, allocations: 64.38 kB / 1.15 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008592/1.114, allocations: 140.3 kB / 1.15 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008269/1.115, allocations: 0.6387 MB / 1.151 GB, free: 9.648 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/1.116, allocations: 0.7596 MB / 1.152 GB, free: 8.945 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002172/1.116, allocations: 68.84 kB / 1.152 GB, free: 8.934 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/1.116, allocations: 20.28 kB / 1.152 GB, free: 8.926 MB / 0.7605 GB Notification: Performance of SimCode: time 4.01e-07/1.116, allocations: 0 / 1.152 GB, free: 8.926 MB / 0.7605 GB Notification: Performance of Templates: time 0.007992/1.124, allocations: 4.356 MB / 1.156 GB, free: 8.629 MB / 0.7605 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)