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.001141/0.001141, allocations: 105.3 kB / 16.27 MB, free: 5.984 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.001222/0.001222, allocations: 189 kB / 17.2 MB, free: 5.609 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.324/1.324, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002304/0.002304, allocations: 290.7 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9966/0.9966, allocations: 169.3 MB / 0.4988 GB, free: 4.508 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 104.2 kB / 0.5959 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1611, allocations: 86.97 MB / 0.6808 GB, free: 8.211 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.3066/0.4677, allocations: 15.02 MB / 0.6955 GB, free: 10.53 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005202/0.473, allocations: 3.894 MB / 0.6993 GB, free: 8.508 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006127/0.4736, allocations: 22.16 kB / 0.6993 GB, free: 8.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000616/0.4743, allocations: 187.1 kB / 0.6995 GB, free: 8.383 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001814/0.4761, allocations: 0.6787 MB / 0.7002 GB, free: 8.008 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.4775, allocations: 473.8 kB / 0.7006 GB, free: 7.797 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001621/0.4792, allocations: 1.076 MB / 0.7017 GB, free: 7.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005171/0.4797, allocations: 291.1 kB / 0.7019 GB, free: 7.195 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007193/0.4804, allocations: 396.9 kB / 0.7023 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003265/0.4808, allocations: 259.8 kB / 0.7026 GB, free: 6.914 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.33e-05/0.4808, allocations: 21.53 kB / 0.7026 GB, free: 6.914 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.4823, allocations: 0.7227 MB / 0.7033 GB, free: 6.676 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.267e-05/0.4824, allocations: 72.5 kB / 0.7034 GB, free: 6.633 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.4826, allocations: 185.9 kB / 0.7035 GB, free: 6.527 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.4837, allocations: 0.7249 MB / 0.7043 GB, free: 6.262 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4837, allocations: 1.531 kB / 0.7043 GB, free: 6.262 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4837, allocations: 0 / 0.7043 GB, free: 6.262 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.4837, allocations: 3.938 kB / 0.7043 GB, free: 6.258 MB / 494.1 MB 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.0009891/0.4847, allocations: 0.7375 MB / 0.705 GB, free: 5.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.4848, allocations: 9.922 kB / 0.705 GB, free: 5.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.998e-05/0.4849, allocations: 50.38 kB / 0.705 GB, free: 5.633 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000786/0.4857, allocations: 0.4894 MB / 0.7055 GB, free: 5.285 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.4857, allocations: 16.3 kB / 0.7055 GB, free: 5.277 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.4857, allocations: 16.44 kB / 0.7055 GB, free: 5.273 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003727/0.4861, allocations: 175.8 kB / 0.7057 GB, free: 5.199 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.4861, allocations: 0.7969 kB / 0.7057 GB, free: 5.199 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.4862, allocations: 9.875 kB / 0.7057 GB, free: 5.191 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.4862, allocations: 3.375 kB / 0.7057 GB, free: 5.191 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.4865, allocations: 138.5 kB / 0.7059 GB, free: 5.152 MB / 494.1 MB 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.001016/0.4875, allocations: 0.8772 MB / 0.7067 GB, free: 4.457 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.4878, allocations: 120.2 kB / 0.7068 GB, free: 4.402 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.488, allocations: 71.39 kB / 0.7069 GB, free: 4.379 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002512/0.4882, allocations: 338 kB / 0.7072 GB, free: 3.996 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.4883, allocations: 36.61 kB / 0.7073 GB, free: 3.953 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.4883, allocations: 0 / 0.7073 GB, free: 3.953 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005755/0.4889, allocations: 214.8 kB / 0.7075 GB, free: 3.867 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.4889, allocations: 56.06 kB / 0.7075 GB, free: 3.801 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003533/0.4893, allocations: 349 kB / 0.7078 GB, free: 3.625 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.4893, allocations: 31.39 kB / 0.7079 GB, free: 3.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.4894, allocations: 196.9 kB / 0.7081 GB, free: 3.426 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.4894, allocations: 42.69 kB / 0.7081 GB, free: 3.391 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.997e-05/0.4895, allocations: 30.22 kB / 0.7081 GB, free: 3.371 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.001e-05/0.4896, allocations: 344.9 kB / 0.7085 GB, free: 3.043 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.4897, allocations: 53.28 kB / 0.7085 GB, free: 3.023 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.4899, allocations: 91.83 kB / 0.7086 GB, free: 2.965 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.4902, allocations: 118.9 kB / 0.7087 GB, free: 2.914 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4902, allocations: 0.6562 kB / 0.7087 GB, free: 2.914 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003809/0.4906, allocations: 174.3 kB / 0.7089 GB, free: 2.836 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.4906, allocations: 9.375 kB / 0.7089 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.4907, allocations: 5.438 kB / 0.7089 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.4907, allocations: 1.5 kB / 0.7089 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.4908, allocations: 28.19 kB / 0.7089 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.4908, allocations: 2.141 kB / 0.7089 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.491, allocations: 26.64 kB / 0.7089 GB, free: 2.812 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.4911, allocations: 5.656 kB / 0.709 GB, free: 2.812 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001987/0.4913, allocations: 159.2 kB / 0.7091 GB, free: 2.703 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001556/0.4914, allocations: 90.52 kB / 0.7092 GB, free: 2.645 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002527/0.4917, allocations: 108.6 kB / 0.7093 GB, free: 2.602 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.12e-07/0.4917, allocations: 0 / 0.7093 GB, free: 2.602 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003426/0.4921, allocations: 172.4 kB / 0.7095 GB, free: 2.523 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.405e-06/0.4921, allocations: 5.031 kB / 0.7095 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-06/0.4921, allocations: 5.547 kB / 0.7095 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.677e-06/0.4921, allocations: 8.703 kB / 0.7095 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.4922, allocations: 23.66 kB / 0.7095 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.4922, allocations: 2.109 kB / 0.7095 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.4924, allocations: 21.36 kB / 0.7095 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.4924, allocations: 4.844 kB / 0.7095 GB, free: 2.504 MB / 494.1 MB 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 6.025e-05/0.4925, allocations: 189 kB / 0.7097 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.019e-05/0.4926, allocations: 31.81 kB / 0.7097 GB, free: 2.301 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005034/0.4931, allocations: 231.9 kB / 0.71 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.4931, allocations: 2.141 kB / 0.71 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4931, allocations: 0.8125 kB / 0.71 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.4931, allocations: 0.75 kB / 0.71 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008716/0.494, allocations: 0.6454 MB / 0.7106 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.494, allocations: 1.906 kB / 0.7106 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.4941, allocations: 23.19 kB / 0.7106 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.4941, allocations: 2.516 kB / 0.7106 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.4941, allocations: 10.62 kB / 0.7106 GB, free: 1.727 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4942, allocations: 6.422 kB / 0.7106 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.4942, allocations: 1.719 kB / 0.7106 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.4946, allocations: 317.3 kB / 0.7109 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.717e-05/0.4947, allocations: 134.3 kB / 0.7111 GB, free: 1.375 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.472e-05/0.4947, allocations: 2 kB / 0.7111 GB, free: 1.375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.495, allocations: 17.75 kB / 0.7111 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.495, allocations: 8.438 kB / 0.7111 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.495, allocations: 5.453 kB / 0.7111 GB, free: 1.371 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002248/0.4953, allocations: 250.9 kB / 0.7113 GB, free: 1.238 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4953, allocations: 0 / 0.7113 GB, free: 1.238 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006696/0.4959, allocations: 181.1 kB / 0.7115 GB, free: 1.203 MB / 494.1 MB 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.0005394/0.4965, allocations: 263 kB / 0.7118 GB, free: 1.047 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006073/0.4971, allocations: 200.1 kB / 0.712 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4971, allocations: 0 / 0.712 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.4973, allocations: 76.91 kB / 0.712 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009353/0.4983, allocations: 151 kB / 0.7122 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.4993, allocations: 0.5995 MB / 0.7128 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.4997, allocations: 0.7919 MB / 0.7135 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.722e-05/0.4998, allocations: 35.59 kB / 0.7136 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.4998, allocations: 0 / 0.7136 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of Templates: time 0.01087/0.5107, allocations: 5.768 MB / 0.7192 GB, free: 14.71 MB / 0.4981 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)