Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 106.2 kB / 16.4 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 188 kB / 17.34 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002487/0.002487, allocations: 292.5 kB / 291.5 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.015/1.015, allocations: 169.2 MB / 0.499 GB, free: 4.398 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002749/0.002749, allocations: 95.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5061/0.5088, allocations: 86.98 MB / 0.767 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01803/0.5269, allocations: 15.07 MB / 0.7818 GB, free: 4.625 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007581/0.5345, allocations: 3.884 MB / 0.7855 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000678/0.5351, allocations: 23.88 kB / 0.7856 GB, free: 0.707 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007453/0.5359, allocations: 198.7 kB / 0.7858 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002055/0.5379, allocations: 0.7077 MB / 0.7865 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.5395, allocations: 469.8 kB / 0.7869 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001833/0.5413, allocations: 1.095 MB / 0.788 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004578/0.5418, allocations: 253.5 kB / 0.7882 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007608/0.5425, allocations: 414.4 kB / 0.7886 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003463/0.5429, allocations: 258.8 kB / 0.7889 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.017e-05/0.5429, allocations: 24 kB / 0.7889 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.5444, allocations: 0.7173 MB / 0.7896 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.5445, allocations: 79.61 kB / 0.7897 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.5447, allocations: 187 kB / 0.7898 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.5458, allocations: 0.7297 MB / 0.7905 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5459, allocations: 3.938 kB / 0.7905 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5459, allocations: 4 kB / 0.7906 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.5459, allocations: 0 / 0.7906 GB, free: 11.6 MB / 0.5606 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.00131/0.5472, allocations: 0.7543 MB / 0.7913 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.5472, allocations: 8.031 kB / 0.7913 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.5473, allocations: 52.64 kB / 0.7913 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.5484, allocations: 0.5139 MB / 0.7918 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.5484, allocations: 16.27 kB / 0.7919 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/0.5485, allocations: 20 kB / 0.7919 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.5489, allocations: 176.2 kB / 0.792 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.5489, allocations: 0 / 0.792 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.5489, allocations: 7.984 kB / 0.7921 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.5489, allocations: 8 kB / 0.7921 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003461/0.5493, allocations: 136.2 kB / 0.7922 GB, free: 9.82 MB / 0.5606 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.001253/0.5505, allocations: 0.8607 MB / 0.793 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.5508, allocations: 114.6 kB / 0.7931 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.551, allocations: 64.81 kB / 0.7932 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003258/0.5513, allocations: 332.4 kB / 0.7935 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.5513, allocations: 38.56 kB / 0.7936 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.163e-06/0.5513, allocations: 4 kB / 0.7936 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0006104/0.552, allocations: 225.2 kB / 0.7938 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.552, allocations: 51.41 kB / 0.7938 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003915/0.5524, allocations: 349.7 kB / 0.7942 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.5524, allocations: 25.7 kB / 0.7942 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.5526, allocations: 196.4 kB / 0.7944 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.5526, allocations: 47.58 kB / 0.7944 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.468e-05/0.5527, allocations: 33.7 kB / 0.7945 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.5529, allocations: 346.8 kB / 0.7948 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.553, allocations: 48.83 kB / 0.7948 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.5532, allocations: 92.62 kB / 0.7949 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.5535, allocations: 129.6 kB / 0.795 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5535, allocations: 0 / 0.795 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003798/0.5539, allocations: 169.4 kB / 0.7952 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.5539, allocations: 7.938 kB / 0.7952 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.5539, allocations: 4 kB / 0.7952 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.5539, allocations: 0 / 0.7952 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.5541, allocations: 35.92 kB / 0.7952 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.5541, allocations: 0 / 0.7952 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.5543, allocations: 23.86 kB / 0.7953 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.5543, allocations: 4 kB / 0.7953 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002317/0.5545, allocations: 156.1 kB / 0.7954 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001724/0.5547, allocations: 92.41 kB / 0.7955 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002602/0.555, allocations: 121.6 kB / 0.7956 GB, free: 6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.71e-07/0.555, allocations: 0 / 0.7956 GB, free: 6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003526/0.5553, allocations: 169.3 kB / 0.7958 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.193e-06/0.5553, allocations: 8 kB / 0.7958 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-06/0.5553, allocations: 0 / 0.7958 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.208e-06/0.5553, allocations: 7.938 kB / 0.7958 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.5554, allocations: 23.98 kB / 0.7958 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-06/0.5554, allocations: 0 / 0.7958 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.5556, allocations: 15.98 kB / 0.7958 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.5556, allocations: 11.98 kB / 0.7959 GB, free: 5.762 MB / 0.5606 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.0001276/0.5558, allocations: 184.2 kB / 0.796 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.788e-05/0.5558, allocations: 43.7 kB / 0.7961 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004991/0.5563, allocations: 220.6 kB / 0.7963 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.5563, allocations: 0 / 0.7963 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5563, allocations: 4 kB / 0.7963 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5563, allocations: 0 / 0.7963 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009586/0.5573, allocations: 0.6411 MB / 0.7969 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5573, allocations: 0 / 0.7969 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.5574, allocations: 31.91 kB / 0.7969 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.5574, allocations: 0 / 0.7969 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.5574, allocations: 8 kB / 0.7969 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5574, allocations: 0 / 0.7969 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.5574, allocations: 7.984 kB / 0.797 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004725/0.5579, allocations: 316.9 kB / 0.7973 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.5581, allocations: 132.8 kB / 0.7974 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.5581, allocations: 0 / 0.7974 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.5583, allocations: 20.12 kB / 0.7974 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.5584, allocations: 23.95 kB / 0.7974 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.5584, allocations: 8 kB / 0.7974 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002679/0.5586, allocations: 243.2 kB / 0.7977 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5586, allocations: 0 / 0.7977 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006423/0.5593, allocations: 195.4 kB / 0.7979 GB, free: 3.598 MB / 0.5606 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.0005911/0.5599, allocations: 262.3 kB / 0.7981 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005251/0.5604, allocations: 179.8 kB / 0.7983 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.5604, allocations: 4 kB / 0.7983 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.5606, allocations: 71.89 kB / 0.7983 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008375/0.5614, allocations: 152.7 kB / 0.7985 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009647/0.5624, allocations: 0.5743 MB / 0.7991 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/0.5628, allocations: 0.7957 MB / 0.7998 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002199/0.563, allocations: 70.91 kB / 0.7999 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.575e-05/0.5631, allocations: 35.44 kB / 0.7999 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.5631, allocations: 0 / 0.7999 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of Templates: time 0.01356/0.5767, allocations: 6.635 MB / 0.8064 GB, free: 10.88 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)