Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.743/1.743, allocations: 288.4 MB / 303.7 MB, free: 8.113 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.001234/0.001234, allocations: 176.5 kB / 372.3 MB, free: 10.14 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.732/1.732, allocations: 205.4 MB / 0.631 GB, free: 9.895 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.0007863/0.0007863, allocations: 99.88 kB / 0.7444 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004524/0.0004524, allocations: 12.78 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2542, allocations: 115.3 MB / 0.9801 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.753/1.007, allocations: 146.7 MB / 1.123 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.002997/1.01, allocations: 1.597 MB / 1.125 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002862/1.011, allocations: 9.469 kB / 1.125 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005489/1.011, allocations: 117.4 kB / 1.125 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001415/1.013, allocations: 465.7 kB / 1.125 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/1.014, allocations: 362.2 kB / 1.126 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.000848/1.015, allocations: 0.6588 MB / 1.126 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002976/1.015, allocations: 143.3 kB / 1.127 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006563/1.016, allocations: 282.7 kB / 1.127 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/1.016, allocations: 145.6 kB / 1.127 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/1.016, allocations: 10.56 kB / 1.127 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/1.017, allocations: 0.7614 MB / 1.128 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001075/1.017, allocations: 73.5 kB / 1.128 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001423/1.017, allocations: 132.7 kB / 1.128 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005465/1.018, allocations: 342.9 kB / 1.128 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/1.018, allocations: 0 / 1.128 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.884e-06/1.018, allocations: 0 / 1.128 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.593e-06/1.018, allocations: 1.594 kB / 1.128 GB, free: 1.25 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.0009202/1.019, allocations: 0.5445 MB / 1.129 GB, free: 16.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/1.019, allocations: 8.875 kB / 1.129 GB, free: 16.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000397/1.019, allocations: 53.44 kB / 1.129 GB, free: 16.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/1.02, allocations: 291.3 kB / 1.129 GB, free: 16.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/1.02, allocations: 11.16 kB / 1.129 GB, free: 16.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/1.02, allocations: 18.3 kB / 1.129 GB, free: 16.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004224/1.02, allocations: 199 kB / 1.129 GB, free: 16.47 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.02, allocations: 0 / 1.129 GB, free: 16.47 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/1.02, allocations: 5.438 kB / 1.129 GB, free: 16.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/1.02, allocations: 6.469 kB / 1.129 GB, free: 16.47 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/1.021, allocations: 138.8 kB / 1.13 GB, free: 16.46 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.001092/1.022, allocations: 0.7906 MB / 1.13 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/1.022, allocations: 88.2 kB / 1.13 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/1.022, allocations: 82.59 kB / 1.13 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000302/1.023, allocations: 187.3 kB / 1.131 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/1.023, allocations: 34.22 kB / 1.131 GB, free: 15.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/1.023, allocations: 4 kB / 1.131 GB, free: 15.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0006772/1.023, allocations: 233.8 kB / 1.131 GB, free: 15.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/1.023, allocations: 55.41 kB / 1.131 GB, free: 15.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/1.024, allocations: 269.9 kB / 1.131 GB, free: 15.44 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/1.024, allocations: 35.08 kB / 1.131 GB, free: 15.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/1.024, allocations: 141.1 kB / 1.131 GB, free: 15.31 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/1.024, allocations: 34.34 kB / 1.131 GB, free: 15.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/1.024, allocations: 3.75 kB / 1.131 GB, free: 15.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001631/1.024, allocations: 330.8 kB / 1.132 GB, free: 14.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/1.024, allocations: 47.41 kB / 1.132 GB, free: 14.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/1.024, allocations: 98.3 kB / 1.132 GB, free: 14.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/1.025, allocations: 134.3 kB / 1.132 GB, free: 14.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.025, allocations: 0 / 1.132 GB, free: 14.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003479/1.025, allocations: 166.6 kB / 1.132 GB, free: 14.83 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/1.025, allocations: 121.5 kB / 1.132 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/1.025, allocations: 4.031 kB / 1.132 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/1.025, allocations: 0 / 1.132 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/1.025, allocations: 26.56 kB / 1.132 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/1.025, allocations: 3.938 kB / 1.132 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/1.026, allocations: 26.12 kB / 1.132 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/1.026, allocations: 6.531 kB / 1.132 GB, free: 14.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/1.026, allocations: 7.078 kB / 1.132 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002683/1.026, allocations: 113.5 kB / 1.132 GB, free: 14.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-06/1.026, allocations: 2.906 kB / 1.132 GB, free: 14.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-06/1.026, allocations: 2.484 kB / 1.132 GB, free: 14.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/1.026, allocations: 28.25 kB / 1.132 GB, free: 14.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/1.026, allocations: 7.219 kB / 1.132 GB, free: 14.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/1.026, allocations: 23.23 kB / 1.132 GB, free: 14.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/1.026, allocations: 10.36 kB / 1.133 GB, free: 14.68 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.0001923/1.026, allocations: 216.5 kB / 1.133 GB, free: 14.49 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-05/1.026, allocations: 22.97 kB / 1.133 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003985/1.027, allocations: 172.6 kB / 1.133 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/1.027, allocations: 3.312 kB / 1.133 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.027, allocations: 3.938 kB / 1.133 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.027, allocations: 288 / 1.133 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/1.028, allocations: 0.5995 MB / 1.133 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/1.028, allocations: 3.312 kB / 1.133 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/1.028, allocations: 34.33 kB / 1.134 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/1.028, allocations: 5.766 kB / 1.134 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/1.028, allocations: 6.625 kB / 1.134 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/1.028, allocations: 2.938 kB / 1.134 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.028, allocations: 0 / 1.134 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004356/1.029, allocations: 309.7 kB / 1.134 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/1.029, allocations: 113.4 kB / 1.134 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/1.029, allocations: 6.875 kB / 1.134 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/1.029, allocations: 15.53 kB / 1.134 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/1.029, allocations: 18.08 kB / 1.134 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/1.029, allocations: 12.66 kB / 1.134 GB, free: 13.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002116/1.029, allocations: 192.7 kB / 1.134 GB, free: 13.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/1.029, allocations: 0 / 1.134 GB, free: 13.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005547/1.03, allocations: 97.06 kB / 1.134 GB, free: 13.61 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.0005029/1.03, allocations: 167.2 kB / 1.134 GB, free: 13.51 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005151/1.031, allocations: 178.1 kB / 1.135 GB, free: 13.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.031, allocations: 0 / 1.135 GB, free: 13.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/1.031, allocations: 70.89 kB / 1.135 GB, free: 13.49 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/1.032, allocations: 131 kB / 1.135 GB, free: 13.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000901/1.033, allocations: 0.5039 MB / 1.135 GB, free: 13.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/1.033, allocations: 0.7544 MB / 1.136 GB, free: 12.44 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002657/1.034, allocations: 71.83 kB / 1.136 GB, free: 12.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.456e-05/1.034, allocations: 22.97 kB / 1.136 GB, free: 12.42 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/1.034, allocations: 0 / 1.136 GB, free: 12.42 MB / 0.698 GB Notification: Performance of Templates: time 0.01056/1.044, allocations: 4.209 MB / 1.14 GB, free: 10.93 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)