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.001452/0.001451, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001689/0.001689, allocations: 198.1 kB / 16.14 MB, free: 6.715 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.491/1.491, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002692/0.002692, allocations: 279.1 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.11/1.11, allocations: 178.6 MB / 0.5068 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002754/0.002754, allocations: 98.05 kB / 0.6057 GB, free: 25.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1675, allocations: 89.16 MB / 0.6928 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01702/0.1845, allocations: 15 MB / 0.7074 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005641/0.1902, allocations: 3.915 MB / 0.7113 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003401/0.1906, allocations: 23.88 kB / 0.7113 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005108/0.1911, allocations: 151.1 kB / 0.7114 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.1925, allocations: 0.6145 MB / 0.712 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.1936, allocations: 421.1 kB / 0.7124 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0017/0.1953, allocations: 1.372 MB / 0.7138 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003638/0.1956, allocations: 245.1 kB / 0.714 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006028/0.1963, allocations: 382.3 kB / 0.7144 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003259/0.1966, allocations: 258.8 kB / 0.7146 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.529e-05/0.1967, allocations: 12 kB / 0.7146 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.1978, allocations: 0.7094 MB / 0.7153 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.1979, allocations: 63.7 kB / 0.7154 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.1981, allocations: 179 kB / 0.7155 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000945/0.1991, allocations: 0.6972 MB / 0.7162 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1991, allocations: 0 / 0.7162 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of FrontEnd: time 7.32e-07/0.1991, allocations: 0 / 0.7162 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.1991, allocations: 0 / 0.7162 GB, free: 12.74 MB / 0.5137 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.001157/0.2002, allocations: 0.7551 MB / 0.717 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.2003, allocations: 8.031 kB / 0.717 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.199e-05/0.2004, allocations: 40.47 kB / 0.717 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008854/0.2013, allocations: 0.4975 MB / 0.7175 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.2013, allocations: 16.33 kB / 0.7175 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.2013, allocations: 16 kB / 0.7175 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/0.2017, allocations: 180.1 kB / 0.7177 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2018, allocations: 0 / 0.7177 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.2018, allocations: 4 kB / 0.7177 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.2018, allocations: 7.984 kB / 0.7177 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003508/0.2022, allocations: 143.8 kB / 0.7178 GB, free: 11 MB / 0.5137 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.001192/0.2034, allocations: 0.8605 MB / 0.7187 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.2036, allocations: 118.6 kB / 0.7188 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.2038, allocations: 72.81 kB / 0.7189 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003646/0.2042, allocations: 336.4 kB / 0.7192 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.2042, allocations: 38.56 kB / 0.7192 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.243e-06/0.2042, allocations: 0 / 0.7192 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0005981/0.2049, allocations: 221 kB / 0.7194 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.2049, allocations: 55.41 kB / 0.7195 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003875/0.2053, allocations: 345.7 kB / 0.7198 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.2053, allocations: 29.64 kB / 0.7198 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.2055, allocations: 196.3 kB / 0.72 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.2055, allocations: 39.44 kB / 0.7201 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.967e-05/0.2056, allocations: 41.61 kB / 0.7201 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.2058, allocations: 346.8 kB / 0.7204 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.206, allocations: 52.77 kB / 0.7205 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.2061, allocations: 84.25 kB / 0.7206 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.2064, allocations: 121.6 kB / 0.7207 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.2065, allocations: 4 kB / 0.7207 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003937/0.2069, allocations: 169.2 kB / 0.7209 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.2069, allocations: 9.031 kB / 0.7209 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.2069, allocations: 3.984 kB / 0.7209 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.2069, allocations: 4 kB / 0.7209 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.2071, allocations: 31.92 kB / 0.7209 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/0.2071, allocations: 3.984 kB / 0.7209 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.2073, allocations: 27.83 kB / 0.7209 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.2074, allocations: 8.031 kB / 0.7209 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002343/0.2076, allocations: 156.1 kB / 0.7211 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001637/0.2078, allocations: 88.25 kB / 0.7212 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002676/0.208, allocations: 117.6 kB / 0.7213 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.02e-07/0.2081, allocations: 0 / 0.7213 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003643/0.2084, allocations: 173.2 kB / 0.7215 GB, free: 7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/0.2084, allocations: 4 kB / 0.7215 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-06/0.2084, allocations: 0 / 0.7215 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-06/0.2085, allocations: 7.938 kB / 0.7215 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.2086, allocations: 23.97 kB / 0.7215 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.2086, allocations: 4 kB / 0.7215 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.2088, allocations: 27.92 kB / 0.7215 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.2088, allocations: 7.984 kB / 0.7215 GB, free: 6.926 MB / 0.5137 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.0001172/0.209, allocations: 188.9 kB / 0.7217 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.122e-05/0.209, allocations: 39.47 kB / 0.7217 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005118/0.2095, allocations: 225.5 kB / 0.722 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2096, allocations: 4 kB / 0.722 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2096, allocations: 0 / 0.722 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2096, allocations: 0 / 0.722 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009306/0.2105, allocations: 0.6256 MB / 0.7226 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2105, allocations: 4 kB / 0.7226 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.2107, allocations: 32.19 kB / 0.7226 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2107, allocations: 4 kB / 0.7226 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.2107, allocations: 8 kB / 0.7226 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2107, allocations: 3.938 kB / 0.7226 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2107, allocations: 0 / 0.7226 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004845/0.2112, allocations: 325.5 kB / 0.7229 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.2113, allocations: 120.8 kB / 0.723 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.2114, allocations: 7.938 kB / 0.7231 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.2116, allocations: 23.97 kB / 0.7231 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.2117, allocations: 15.92 kB / 0.7231 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.2117, allocations: 4 kB / 0.7231 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002677/0.212, allocations: 251.2 kB / 0.7233 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.212, allocations: 0 / 0.7233 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005963/0.2126, allocations: 195.5 kB / 0.7235 GB, free: 4.754 MB / 0.5137 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.0005476/0.2131, allocations: 252.6 kB / 0.7238 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005115/0.2137, allocations: 183.8 kB / 0.7239 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2137, allocations: 0 / 0.7239 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.2139, allocations: 75.89 kB / 0.724 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00084/0.2147, allocations: 152.6 kB / 0.7242 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000941/0.2157, allocations: 0.6742 MB / 0.7248 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.2161, allocations: 0.7921 MB / 0.7256 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002526/0.2163, allocations: 79.06 kB / 0.7257 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.049e-05/0.2164, allocations: 27.44 kB / 0.7257 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.2164, allocations: 0 / 0.7257 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of Templates: time 0.01262/0.229, allocations: 6.3 MB / 0.7318 GB, free: 12.29 MB / 0.5294 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)