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.00109/0.00109, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001024/0.001024, allocations: 189.4 kB / 17.29 MB, free: 5.48 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 / 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.0021/0.0021, allocations: 293.8 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9482/0.9482, allocations: 169.3 MB / 0.4989 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 90.42 kB / 0.5966 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1642, allocations: 86.98 MB / 0.6816 GB, free: 7.504 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.3158/0.4801, allocations: 15.03 MB / 0.6963 GB, free: 10.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006209/0.4864, allocations: 3.894 MB / 0.7001 GB, free: 8.273 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008174/0.4872, allocations: 22.47 kB / 0.7001 GB, free: 8.266 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007717/0.4881, allocations: 182.5 kB / 0.7003 GB, free: 8.152 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002843/0.4909, allocations: 0.6734 MB / 0.7009 GB, free: 7.781 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.4929, allocations: 480.4 kB / 0.7014 GB, free: 7.566 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002236/0.4952, allocations: 1.081 MB / 0.7024 GB, free: 7.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005745/0.4957, allocations: 298.1 kB / 0.7027 GB, free: 6.965 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008502/0.4966, allocations: 398.7 kB / 0.7031 GB, free: 6.797 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003572/0.497, allocations: 266 kB / 0.7034 GB, free: 6.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.155e-05/0.497, allocations: 21.28 kB / 0.7034 GB, free: 6.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.4985, allocations: 0.7132 MB / 0.7041 GB, free: 6.449 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.4986, allocations: 74.33 kB / 0.7041 GB, free: 6.406 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.4988, allocations: 186.3 kB / 0.7043 GB, free: 6.301 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.5001, allocations: 0.7271 MB / 0.705 GB, free: 6.039 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5001, allocations: 4.547 kB / 0.705 GB, free: 6.035 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.5001, allocations: 0 / 0.705 GB, free: 6.035 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.5001, allocations: 0.9688 kB / 0.705 GB, free: 6.035 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.001201/0.5013, allocations: 0.7339 MB / 0.7058 GB, free: 5.438 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.5014, allocations: 13.78 kB / 0.7058 GB, free: 5.434 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.587e-05/0.5015, allocations: 50.38 kB / 0.7058 GB, free: 5.406 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009592/0.5025, allocations: 0.5107 MB / 0.7063 GB, free: 5.055 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.5025, allocations: 19.45 kB / 0.7063 GB, free: 5.043 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.5025, allocations: 21.3 kB / 0.7064 GB, free: 5.035 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/0.5029, allocations: 179.2 kB / 0.7065 GB, free: 4.957 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.5029, allocations: 0 / 0.7065 GB, free: 4.957 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.503, allocations: 6.062 kB / 0.7065 GB, free: 4.953 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.503, allocations: 3.781 kB / 0.7065 GB, free: 4.953 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003516/0.5033, allocations: 138.5 kB / 0.7067 GB, free: 4.914 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.001134/0.5045, allocations: 0.8634 MB / 0.7075 GB, free: 4.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.5048, allocations: 123.8 kB / 0.7076 GB, free: 4.176 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.5049, allocations: 71.09 kB / 0.7077 GB, free: 4.152 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002104/0.5052, allocations: 337.8 kB / 0.708 GB, free: 3.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.5052, allocations: 32.78 kB / 0.708 GB, free: 3.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.5052, allocations: 0 / 0.708 GB, free: 3.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005814/0.5058, allocations: 222 kB / 0.7083 GB, free: 3.637 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.5058, allocations: 53.78 kB / 0.7083 GB, free: 3.574 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003732/0.5062, allocations: 352 kB / 0.7086 GB, free: 3.395 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.5062, allocations: 26.92 kB / 0.7087 GB, free: 3.363 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.5063, allocations: 197.5 kB / 0.7089 GB, free: 3.199 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.5064, allocations: 39.02 kB / 0.7089 GB, free: 3.168 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-05/0.5064, allocations: 33.25 kB / 0.7089 GB, free: 3.145 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.515e-05/0.5065, allocations: 345.9 kB / 0.7093 GB, free: 2.816 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.5067, allocations: 51.09 kB / 0.7093 GB, free: 2.797 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.5069, allocations: 87.48 kB / 0.7094 GB, free: 2.742 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.5071, allocations: 116.3 kB / 0.7095 GB, free: 2.695 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.5072, allocations: 0 / 0.7095 GB, free: 2.695 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003773/0.5075, allocations: 179.2 kB / 0.7097 GB, free: 2.613 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.5076, allocations: 4.75 kB / 0.7097 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.5076, allocations: 5.391 kB / 0.7097 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.5076, allocations: 4.844 kB / 0.7097 GB, free: 2.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.5078, allocations: 28.27 kB / 0.7097 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/0.5078, allocations: 1.125 kB / 0.7097 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.508, allocations: 23.3 kB / 0.7097 GB, free: 2.594 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.508, allocations: 5.344 kB / 0.7097 GB, free: 2.594 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001981/0.5082, allocations: 158.9 kB / 0.7099 GB, free: 2.484 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000159/0.5084, allocations: 94.05 kB / 0.71 GB, free: 2.422 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002433/0.5086, allocations: 117.7 kB / 0.7101 GB, free: 2.371 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.22e-07/0.5086, allocations: 0 / 0.7101 GB, free: 2.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003466/0.509, allocations: 172.1 kB / 0.7103 GB, free: 2.293 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.495e-06/0.509, allocations: 5.094 kB / 0.7103 GB, free: 2.293 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.509, allocations: 1.312 kB / 0.7103 GB, free: 2.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.927e-06/0.509, allocations: 4.875 kB / 0.7103 GB, free: 2.289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.5091, allocations: 23.05 kB / 0.7103 GB, free: 2.289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-06/0.5091, allocations: 1.766 kB / 0.7103 GB, free: 2.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.5093, allocations: 21.75 kB / 0.7103 GB, free: 2.281 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.5094, allocations: 9.406 kB / 0.7103 GB, free: 2.277 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.792e-05/0.5094, allocations: 188.9 kB / 0.7105 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.377e-05/0.5095, allocations: 32.06 kB / 0.7105 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000493/0.51, allocations: 221.4 kB / 0.7107 GB, free: 1.977 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.557e-06/0.51, allocations: 2.688 kB / 0.7107 GB, free: 1.977 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.51, allocations: 2.125 kB / 0.7108 GB, free: 1.977 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.51, allocations: 1.359 kB / 0.7108 GB, free: 1.977 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009014/0.5109, allocations: 0.6384 MB / 0.7114 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.511, allocations: 4.875 kB / 0.7114 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.5111, allocations: 28.47 kB / 0.7114 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.5111, allocations: 1.656 kB / 0.7114 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.5111, allocations: 7.328 kB / 0.7114 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.5111, allocations: 5.406 kB / 0.7114 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5111, allocations: 2.953 kB / 0.7114 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/0.5116, allocations: 315.7 kB / 0.7117 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.5117, allocations: 130.3 kB / 0.7119 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/0.5117, allocations: 6.797 kB / 0.7119 GB, free: 1.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.5119, allocations: 12.62 kB / 0.7119 GB, free: 1.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.512, allocations: 17.25 kB / 0.7119 GB, free: 1.152 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.512, allocations: 6.766 kB / 0.7119 GB, free: 1.152 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002424/0.5123, allocations: 245.6 kB / 0.7121 GB, free: 1.027 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5123, allocations: 0 / 0.7121 GB, free: 1.027 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006784/0.513, allocations: 185.5 kB / 0.7123 GB, free: 0.9883 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.0005128/0.5135, allocations: 257.7 kB / 0.7125 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005489/0.514, allocations: 196.1 kB / 0.7127 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.514, allocations: 0 / 0.7127 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.5142, allocations: 81.84 kB / 0.7128 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007984/0.5151, allocations: 155.9 kB / 0.713 GB, free: 0.707 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00079/0.5159, allocations: 0.5529 MB / 0.7135 GB, free: 368 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.5162, allocations: 0.7931 MB / 0.7143 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000227/0.5165, allocations: 72.48 kB / 0.7143 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.656e-05/0.5165, allocations: 29.12 kB / 0.7144 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.5165, allocations: 0 / 0.7144 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of Templates: time 0.01338/0.5299, allocations: 6.589 MB / 0.7208 GB, free: 14.11 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)