Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.407/1.407, allocations: 251.5 MB / 267.4 MB, free: 11.1 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 173.4 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.753/1.753, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007816/0.0007816, allocations: 94.09 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003367, allocations: 8.312 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1992, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01299/0.2122, allocations: 14.68 MB / 0.9111 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004518/0.2168, allocations: 3.848 MB / 0.9148 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005555/0.2173, allocations: 19.94 kB / 0.9149 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006203/0.218, allocations: 155.1 kB / 0.915 GB, free: 49.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.2197, allocations: 0.6145 MB / 0.9156 GB, free: 48.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.2209, allocations: 426.7 kB / 0.916 GB, free: 48.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00146/0.2223, allocations: 1.364 MB / 0.9173 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004142/0.2228, allocations: 241.1 kB / 0.9176 GB, free: 46.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007172/0.2235, allocations: 370.4 kB / 0.9179 GB, free: 46.42 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003657/0.2239, allocations: 262.7 kB / 0.9182 GB, free: 46.16 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.764e-05/0.2239, allocations: 12 kB / 0.9182 GB, free: 46.15 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.2251, allocations: 0.6939 MB / 0.9189 GB, free: 45.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.78e-05/0.2252, allocations: 67.62 kB / 0.9189 GB, free: 45.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.2253, allocations: 167 kB / 0.9191 GB, free: 45.23 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007097/0.2261, allocations: 0.495 MB / 0.9196 GB, free: 44.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2261, allocations: 15.86 kB / 0.9196 GB, free: 44.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2261, allocations: 0 / 0.9196 GB, free: 44.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.2261, allocations: 3.938 kB / 0.9196 GB, free: 44.71 MB / 0.6042 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.000952/0.2271, allocations: 0.6775 MB / 0.9203 GB, free: 43.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2271, allocations: 16.03 kB / 0.9203 GB, free: 43.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.2272, allocations: 40.47 kB / 0.9203 GB, free: 43.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007833/0.228, allocations: 497.6 kB / 0.9208 GB, free: 43.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.228, allocations: 20.27 kB / 0.9208 GB, free: 43.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.2281, allocations: 20 kB / 0.9208 GB, free: 43.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.2284, allocations: 184.9 kB / 0.921 GB, free: 43.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.2284, allocations: 0 / 0.921 GB, free: 43.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.2285, allocations: 4 kB / 0.921 GB, free: 43.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2285, allocations: 7.938 kB / 0.921 GB, free: 43.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.2288, allocations: 156.2 kB / 0.9212 GB, free: 43.01 MB / 0.6042 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.0009155/0.2297, allocations: 0.8644 MB / 0.922 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.2299, allocations: 126.6 kB / 0.9221 GB, free: 41.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.2301, allocations: 72.81 kB / 0.9222 GB, free: 41.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000221/0.2303, allocations: 340.4 kB / 0.9225 GB, free: 41.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.2303, allocations: 42.48 kB / 0.9226 GB, free: 41.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.2303, allocations: 0 / 0.9226 GB, free: 41.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.000495/0.2308, allocations: 233.1 kB / 0.9228 GB, free: 41.15 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.2309, allocations: 55.41 kB / 0.9228 GB, free: 41.08 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.2311, allocations: 345.7 kB / 0.9232 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.2311, allocations: 33.7 kB / 0.9232 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.015e-05/0.2312, allocations: 192.2 kB / 0.9234 GB, free: 40.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.2313, allocations: 35.45 kB / 0.9234 GB, free: 40.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.2313, allocations: 21.7 kB / 0.9234 GB, free: 40.44 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.22e-05/0.2314, allocations: 338.8 kB / 0.9238 GB, free: 40.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.2315, allocations: 55.95 kB / 0.9238 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.2317, allocations: 88.25 kB / 0.9239 GB, free: 39.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.2319, allocations: 133.6 kB / 0.924 GB, free: 39.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2319, allocations: 0 / 0.924 GB, free: 39.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003185/0.2322, allocations: 185.1 kB / 0.9242 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.2323, allocations: 109.8 kB / 0.9243 GB, free: 39.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2323, allocations: 0 / 0.9243 GB, free: 39.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.2323, allocations: 0 / 0.9243 GB, free: 39.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.2325, allocations: 31.92 kB / 0.9243 GB, free: 39.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.2325, allocations: 0 / 0.9243 GB, free: 39.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.2327, allocations: 39.81 kB / 0.9244 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.2327, allocations: 4 kB / 0.9244 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.971e-06/0.2327, allocations: 4 kB / 0.9244 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002561/0.233, allocations: 127.9 kB / 0.9245 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/0.233, allocations: 3.984 kB / 0.9245 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-06/0.233, allocations: 0 / 0.9245 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.2331, allocations: 35.91 kB / 0.9245 GB, free: 39.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.2331, allocations: 3.938 kB / 0.9245 GB, free: 39.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.2333, allocations: 31.83 kB / 0.9246 GB, free: 39.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.2333, allocations: 15.92 kB / 0.9246 GB, free: 39.21 MB / 0.6042 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.0001071/0.2335, allocations: 221 kB / 0.9248 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.967e-05/0.2335, allocations: 31.62 kB / 0.9248 GB, free: 38.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004154/0.2339, allocations: 241.3 kB / 0.9251 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.2339, allocations: 0 / 0.9251 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.234, allocations: 4 kB / 0.9251 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.234, allocations: 0 / 0.9251 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006628/0.2346, allocations: 0.6451 MB / 0.9257 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.2346, allocations: 8.062 kB / 0.9257 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.632e-05/0.2347, allocations: 27.92 kB / 0.9257 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2348, allocations: 0 / 0.9257 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.2348, allocations: 8 kB / 0.9257 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.644e-06/0.2348, allocations: 4.172 kB / 0.9257 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2348, allocations: 8.094 kB / 0.9257 GB, free: 37.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.2351, allocations: 334.9 kB / 0.9261 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.032e-05/0.2352, allocations: 124.5 kB / 0.9262 GB, free: 37.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.2353, allocations: 8 kB / 0.9262 GB, free: 37.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.2355, allocations: 19.97 kB / 0.9262 GB, free: 37.42 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.2355, allocations: 19.98 kB / 0.9262 GB, free: 37.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.2355, allocations: 4 kB / 0.9262 GB, free: 37.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001699/0.2357, allocations: 247.2 kB / 0.9265 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2357, allocations: 0 / 0.9265 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004867/0.2362, allocations: 191.6 kB / 0.9266 GB, free: 36.97 MB / 0.6042 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.0004466/0.2367, allocations: 251.2 kB / 0.9269 GB, free: 36.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004275/0.2371, allocations: 207.7 kB / 0.9271 GB, free: 36.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.2371, allocations: 4 kB / 0.9271 GB, free: 36.51 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.2373, allocations: 83.89 kB / 0.9272 GB, free: 36.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007743/0.2381, allocations: 137.9 kB / 0.9273 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006854/0.2388, allocations: 0.6877 MB / 0.928 GB, free: 35.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.2389, allocations: 0.796 MB / 0.9288 GB, free: 34.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.239, allocations: 31.44 kB / 0.9288 GB, free: 34.71 MB / 0.6042 GB Notification: Performance of SimCode: time 7.12e-07/0.239, allocations: 0 / 0.9288 GB, free: 34.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.00652/0.2455, allocations: 5.704 MB / 0.9344 GB, free: 29.05 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)