Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.71/1.71, allocations: 292.3 MB / 308.1 MB, free: 4.309 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.001243/0.001244, allocations: 186.2 kB / 376.9 MB, free: 1.801 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.024/2.024, allocations: 205 MB / 0.6354 GB, free: 9.785 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.001112/0.001112, allocations: 106.6 kB / 0.748 GB, free: 61.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 51.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3147, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01825/0.333, allocations: 15.01 MB / 0.9969 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.007718/0.3408, allocations: 3.873 MB / 1.001 GB, free: 7.422 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009646/0.3419, allocations: 19.88 kB / 1.001 GB, free: 7.402 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0007106/0.3427, allocations: 151.1 kB / 1.001 GB, free: 7.254 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.002086/0.3448, allocations: 0.6183 MB / 1.001 GB, free: 6.633 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.3462, allocations: 427.1 kB / 1.002 GB, free: 6.215 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002138/0.3484, allocations: 1.368 MB / 1.003 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00047/0.3488, allocations: 249.1 kB / 1.003 GB, free: 4.594 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007782/0.3496, allocations: 382.4 kB / 1.004 GB, free: 4.219 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000371/0.35, allocations: 266.7 kB / 1.004 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.816e-05/0.3501, allocations: 16 kB / 1.004 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001541/0.3516, allocations: 0.69 MB / 1.005 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.3518, allocations: 67.62 kB / 1.005 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.352, allocations: 179 kB / 1.005 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.3532, allocations: 0.7128 MB / 1.006 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.3532, allocations: 0 / 1.006 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3532, allocations: 0 / 1.006 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.3533, allocations: 0 / 1.006 GB, free: 2.293 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001367/0.3546, allocations: 0.732 MB / 1.006 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.3547, allocations: 8.031 kB / 1.006 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.3548, allocations: 48.38 kB / 1.006 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009135/0.3557, allocations: 0.5054 MB / 1.007 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.3558, allocations: 8.328 kB / 1.007 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.3558, allocations: 32 kB / 1.007 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003865/0.3562, allocations: 172.9 kB / 1.007 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3562, allocations: 0 / 1.007 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.3562, allocations: 8 kB / 1.007 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.3563, allocations: 4 kB / 1.007 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003368/0.3566, allocations: 139.8 kB / 1.007 GB, free: 0.5547 MB / 0.7292 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.001194/0.3578, allocations: 0.8605 MB / 1.008 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.3581, allocations: 118.6 kB / 1.008 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.3583, allocations: 76.81 kB / 1.008 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004093/0.3587, allocations: 332.4 kB / 1.009 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.3588, allocations: 42.44 kB / 1.009 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.3588, allocations: 0 / 1.009 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0005743/0.3593, allocations: 225 kB / 1.009 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.3594, allocations: 51.41 kB / 1.009 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/0.3597, allocations: 345.7 kB / 1.009 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.3598, allocations: 29.7 kB / 1.009 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.3599, allocations: 196.3 kB / 1.009 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.36, allocations: 35.38 kB / 1.009 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.439e-05/0.36, allocations: 33.7 kB / 1.01 GB, free: 14 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3602, allocations: 346.8 kB / 1.01 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.3603, allocations: 48.83 kB / 1.01 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.3605, allocations: 92.19 kB / 1.01 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.3607, allocations: 117.6 kB / 1.01 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3608, allocations: 0 / 1.01 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003399/0.3611, allocations: 173.2 kB / 1.01 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.3611, allocations: 7.938 kB / 1.01 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3611, allocations: 7.938 kB / 1.01 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3612, allocations: 0 / 1.01 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.3613, allocations: 31.91 kB / 1.01 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.361e-06/0.3613, allocations: 4 kB / 1.01 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.3615, allocations: 27.83 kB / 1.01 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.3616, allocations: 11.98 kB / 1.01 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002067/0.3618, allocations: 152.1 kB / 1.01 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001539/0.362, allocations: 84.25 kB / 1.011 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002423/0.3622, allocations: 117.6 kB / 1.011 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.72e-07/0.3622, allocations: 0 / 1.011 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.000321/0.3625, allocations: 177.2 kB / 1.011 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/0.3626, allocations: 4 kB / 1.011 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-06/0.3626, allocations: 8.031 kB / 1.011 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-06/0.3626, allocations: 3.984 kB / 1.011 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.3627, allocations: 27.92 kB / 1.011 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-06/0.3627, allocations: 0 / 1.011 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.3629, allocations: 24.09 kB / 1.011 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.3629, allocations: 12 kB / 1.011 GB, free: 12.48 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * 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.000106/0.363, allocations: 192.2 kB / 1.011 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/0.3631, allocations: 39.47 kB / 1.011 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005062/0.3636, allocations: 229.4 kB / 1.011 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.3636, allocations: 4 kB / 1.011 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3636, allocations: 0 / 1.011 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3636, allocations: 0 / 1.011 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008898/0.3645, allocations: 0.6295 MB / 1.012 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.3645, allocations: 0 / 1.012 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.3647, allocations: 31.86 kB / 1.012 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.3647, allocations: 4 kB / 1.012 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.3647, allocations: 0 / 1.012 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.3647, allocations: 4.094 kB / 1.012 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3647, allocations: 4 kB / 1.012 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008723/0.3656, allocations: 0.995 MB / 1.013 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.3657, allocations: 124.7 kB / 1.013 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.3657, allocations: 0 / 1.013 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.366, allocations: 31.77 kB / 1.013 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.366, allocations: 11.98 kB / 1.013 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.3661, allocations: 19.92 kB / 1.013 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002283/0.3663, allocations: 243.2 kB / 1.013 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3663, allocations: 0 / 1.013 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008196/0.3671, allocations: 187.9 kB / 1.014 GB, free: 9.594 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005499/0.3677, allocations: 250.3 kB / 1.014 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004973/0.3682, allocations: 187.8 kB / 1.014 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3682, allocations: 0 / 1.014 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.3684, allocations: 87.88 kB / 1.014 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008391/0.3693, allocations: 141.2 kB / 1.014 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.3703, allocations: 0.8254 MB / 1.015 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.3707, allocations: 0.796 MB / 1.016 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002497/0.371, allocations: 83.19 kB / 1.016 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.492e-05/0.371, allocations: 27.44 kB / 1.016 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of SimCode: time 3.4e-07/0.371, allocations: 0 / 1.016 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of Templates: time 0.01212/0.3832, allocations: 6.41 MB / 1.022 GB, free: 0.8008 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)