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.414/1.414, allocations: 252 MB / 268 MB, free: 10.89 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.001069/0.001069, allocations: 176.7 kB / 327.6 MB, free: 2.121 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.679/1.679, allocations: 205.4 MB / 0.5786 GB, free: 20.16 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.0006806/0.0006806, allocations: 90.75 kB / 0.6832 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.0003661, allocations: 8.688 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2054, allocations: 106.3 MB / 0.9014 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01151/0.217, allocations: 14.5 MB / 0.9156 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004406/0.2215, allocations: 3.79 MB / 0.9193 GB, free: 45.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004075/0.2219, allocations: 23.81 kB / 0.9193 GB, free: 45.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005268/0.2224, allocations: 151.1 kB / 0.9195 GB, free: 45.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.2242, allocations: 0.6163 MB / 0.9201 GB, free: 44.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.2255, allocations: 420.2 kB / 0.9205 GB, free: 43.99 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001489/0.227, allocations: 1.368 MB / 0.9218 GB, free: 42.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003261/0.2273, allocations: 244.8 kB / 0.922 GB, free: 42.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005066/0.2278, allocations: 366.4 kB / 0.9224 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002637/0.2281, allocations: 266.7 kB / 0.9227 GB, free: 41.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.2282, allocations: 12 kB / 0.9227 GB, free: 41.74 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.2292, allocations: 0.6977 MB / 0.9233 GB, free: 41.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.02e-05/0.2293, allocations: 55.7 kB / 0.9234 GB, free: 40.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.2294, allocations: 212.6 kB / 0.9236 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000518/0.2299, allocations: 0.4952 MB / 0.9241 GB, free: 40.28 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.23, allocations: 0 / 0.9241 GB, free: 40.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.693e-06/0.23, allocations: 0 / 0.9241 GB, free: 40.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.23, allocations: 0 / 0.9241 GB, free: 40.28 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.0008896/0.2309, allocations: 0.6853 MB / 0.9248 GB, free: 39.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2309, allocations: 8.031 kB / 0.9248 GB, free: 39.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.577e-05/0.231, allocations: 44.47 kB / 0.9248 GB, free: 39.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007159/0.2317, allocations: 0.5015 MB / 0.9253 GB, free: 38.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.2317, allocations: 8.328 kB / 0.9253 GB, free: 38.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.2318, allocations: 20 kB / 0.9253 GB, free: 38.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.2321, allocations: 180.9 kB / 0.9255 GB, free: 38.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2321, allocations: 0 / 0.9255 GB, free: 38.74 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.2322, allocations: 12 kB / 0.9255 GB, free: 38.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.2322, allocations: 4 kB / 0.9255 GB, free: 38.72 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000294/0.2325, allocations: 152.2 kB / 0.9257 GB, free: 38.57 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.0009038/0.2334, allocations: 0.8683 MB / 0.9265 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.2336, allocations: 126.6 kB / 0.9266 GB, free: 37.47 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.2338, allocations: 72.81 kB / 0.9267 GB, free: 37.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000259/0.2341, allocations: 336.4 kB / 0.927 GB, free: 37 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.2341, allocations: 42.44 kB / 0.9271 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.2341, allocations: 4 kB / 0.9271 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0005078/0.2346, allocations: 233.1 kB / 0.9273 GB, free: 36.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.2347, allocations: 55.41 kB / 0.9273 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.2349, allocations: 345.7 kB / 0.9277 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.235, allocations: 25.7 kB / 0.9277 GB, free: 36.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.42e-05/0.2351, allocations: 196.3 kB / 0.9279 GB, free: 36.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.2351, allocations: 43.39 kB / 0.9279 GB, free: 36.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.2351, allocations: 0 / 0.9279 GB, free: 36.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.854e-05/0.2352, allocations: 346.8 kB / 0.9282 GB, free: 35.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.2353, allocations: 55.95 kB / 0.9283 GB, free: 35.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.2355, allocations: 92.19 kB / 0.9284 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.2357, allocations: 129.6 kB / 0.9285 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2357, allocations: 0 / 0.9285 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003038/0.236, allocations: 189.2 kB / 0.9287 GB, free: 35.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.905e-05/0.2361, allocations: 101.8 kB / 0.9288 GB, free: 35.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2361, allocations: 3.938 kB / 0.9288 GB, free: 35.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2361, allocations: 0 / 0.9288 GB, free: 35.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.2363, allocations: 31.98 kB / 0.9288 GB, free: 35.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2363, allocations: 0 / 0.9288 GB, free: 35.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.2365, allocations: 31.88 kB / 0.9289 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.2365, allocations: 7.938 kB / 0.9289 GB, free: 35.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.801e-06/0.2365, allocations: 4 kB / 0.9289 GB, free: 35 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000255/0.2368, allocations: 131.9 kB / 0.929 GB, free: 34.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-06/0.2368, allocations: 0 / 0.929 GB, free: 34.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-06/0.2368, allocations: 0 / 0.929 GB, free: 34.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.2369, allocations: 35.86 kB / 0.929 GB, free: 34.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-06/0.2369, allocations: 0 / 0.929 GB, free: 34.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.2371, allocations: 39.81 kB / 0.9291 GB, free: 34.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.2371, allocations: 4 kB / 0.9291 GB, free: 34.8 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.0001243/0.2373, allocations: 221 kB / 0.9293 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.2373, allocations: 31.81 kB / 0.9293 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004321/0.2378, allocations: 246.7 kB / 0.9295 GB, free: 34.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.2378, allocations: 11.92 kB / 0.9296 GB, free: 34.28 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.2378, allocations: 0 / 0.9296 GB, free: 34.28 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.2378, allocations: 0 / 0.9296 GB, free: 34.28 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006971/0.2385, allocations: 0.6341 MB / 0.9302 GB, free: 33.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2385, allocations: 4 kB / 0.9302 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.2386, allocations: 35.98 kB / 0.9302 GB, free: 33.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2386, allocations: 4 kB / 0.9302 GB, free: 33.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.2386, allocations: 0 / 0.9302 GB, free: 33.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2387, allocations: 8.094 kB / 0.9302 GB, free: 33.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2387, allocations: 0 / 0.9302 GB, free: 33.53 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.239, allocations: 338.5 kB / 0.9305 GB, free: 33.17 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.183e-05/0.2391, allocations: 128.6 kB / 0.9307 GB, free: 33.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.2392, allocations: 4 kB / 0.9307 GB, free: 33.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.2394, allocations: 23.97 kB / 0.9307 GB, free: 33 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.2394, allocations: 15.92 kB / 0.9307 GB, free: 32.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.2395, allocations: 8 kB / 0.9307 GB, free: 32.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001899/0.2397, allocations: 247.2 kB / 0.931 GB, free: 32.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2397, allocations: 0 / 0.931 GB, free: 32.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005259/0.2402, allocations: 195.6 kB / 0.9311 GB, free: 32.55 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.000484/0.2407, allocations: 240.8 kB / 0.9314 GB, free: 32.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004423/0.2411, allocations: 203.7 kB / 0.9316 GB, free: 32.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2411, allocations: 4 kB / 0.9316 GB, free: 32.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.2413, allocations: 83.89 kB / 0.9316 GB, free: 32.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000816/0.2421, allocations: 148.3 kB / 0.9318 GB, free: 31.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007462/0.2429, allocations: 0.7182 MB / 0.9325 GB, free: 31.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.2431, allocations: 0.796 MB / 0.9333 GB, free: 30.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.2432, allocations: 31.42 kB / 0.9333 GB, free: 30.27 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2432, allocations: 0 / 0.9333 GB, free: 30.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.006942/0.2501, allocations: 5.711 MB / 0.9389 GB, free: 24.61 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)