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.427/1.427, allocations: 252 MB / 267.6 MB, free: 10.93 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.001047/0.001047, allocations: 176.1 kB / 327.3 MB, free: 2.203 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.695/1.695, allocations: 205.4 MB / 0.5783 GB, free: 20.2 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.0006952/0.0006953, allocations: 86.34 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003018/0.000302, allocations: 12.81 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2726, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01202/0.2847, allocations: 13.79 MB / 0.9143 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004816/0.2895, allocations: 3.552 MB / 0.9177 GB, free: 46.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006206/0.2902, allocations: 23.88 kB / 0.9178 GB, free: 46.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005476/0.2908, allocations: 135.1 kB / 0.9179 GB, free: 46.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001699/0.2925, allocations: 0.5546 MB / 0.9184 GB, free: 45.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.2938, allocations: 402.8 kB / 0.9188 GB, free: 45.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001414/0.2952, allocations: 1.19 MB / 0.92 GB, free: 44.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003728/0.2956, allocations: 220.6 kB / 0.9202 GB, free: 44 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005985/0.2962, allocations: 346.4 kB / 0.9205 GB, free: 43.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002687/0.2965, allocations: 246.9 kB / 0.9208 GB, free: 43.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.2965, allocations: 15.94 kB / 0.9208 GB, free: 43.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.2977, allocations: 0.6315 MB / 0.9214 GB, free: 42.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.698e-05/0.2978, allocations: 63.67 kB / 0.9215 GB, free: 42.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.951e-05/0.2979, allocations: 93.52 kB / 0.9215 GB, free: 42.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005737/0.2984, allocations: 491.2 kB / 0.922 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2985, allocations: 0 / 0.922 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2985, allocations: 3.938 kB / 0.922 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.2985, allocations: 3.938 kB / 0.922 GB, free: 42.12 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.000955/0.2994, allocations: 0.689 MB / 0.9227 GB, free: 41.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.2995, allocations: 8.031 kB / 0.9227 GB, free: 41.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.689e-05/0.2996, allocations: 39.53 kB / 0.9227 GB, free: 41.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008072/0.3004, allocations: 493.1 kB / 0.9232 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.3004, allocations: 16.31 kB / 0.9232 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.3005, allocations: 20 kB / 0.9232 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003607/0.3008, allocations: 184.8 kB / 0.9234 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3008, allocations: 0 / 0.9234 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.3009, allocations: 4 kB / 0.9234 GB, free: 40.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3009, allocations: 8 kB / 0.9234 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.3012, allocations: 160.1 kB / 0.9236 GB, free: 40.42 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.001062/0.3023, allocations: 0.8529 MB / 0.9244 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.3025, allocations: 126.6 kB / 0.9245 GB, free: 39.33 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.3027, allocations: 80.81 kB / 0.9246 GB, free: 39.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002793/0.303, allocations: 336.4 kB / 0.9249 GB, free: 38.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.303, allocations: 34.56 kB / 0.925 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.303, allocations: 0 / 0.925 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0005492/0.3036, allocations: 237.4 kB / 0.9252 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.3036, allocations: 55.41 kB / 0.9252 GB, free: 38.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.3039, allocations: 337.7 kB / 0.9256 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.3039, allocations: 33.7 kB / 0.9256 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.304, allocations: 196.2 kB / 0.9258 GB, free: 37.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.3041, allocations: 39.41 kB / 0.9258 GB, free: 37.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.3041, allocations: 0 / 0.9258 GB, free: 37.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.114e-05/0.3042, allocations: 346.8 kB / 0.9262 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.3043, allocations: 47.97 kB / 0.9262 GB, free: 37.49 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.3044, allocations: 96.28 kB / 0.9263 GB, free: 37.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.3046, allocations: 59.91 kB / 0.9264 GB, free: 37.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3046, allocations: 0 / 0.9264 GB, free: 37.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003167/0.3049, allocations: 193 kB / 0.9265 GB, free: 37.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.367e-05/0.305, allocations: 105.8 kB / 0.9266 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.305, allocations: 0 / 0.9266 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.305, allocations: 0 / 0.9266 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.3051, allocations: 31.97 kB / 0.9267 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3051, allocations: 0 / 0.9267 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.3054, allocations: 31.97 kB / 0.9267 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.3054, allocations: 4 kB / 0.9267 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.26e-06/0.3054, allocations: 4 kB / 0.9267 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002772/0.3057, allocations: 127.8 kB / 0.9268 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/0.3057, allocations: 4 kB / 0.9268 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-06/0.3057, allocations: 0 / 0.9268 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.3058, allocations: 23.98 kB / 0.9269 GB, free: 36.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-06/0.3058, allocations: 0 / 0.9269 GB, free: 36.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.306, allocations: 39.81 kB / 0.9269 GB, free: 36.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.306, allocations: 4 kB / 0.9269 GB, free: 36.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001254/0.3062, allocations: 229 kB / 0.9271 GB, free: 36.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/0.3062, allocations: 31.62 kB / 0.9271 GB, free: 36.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004449/0.3067, allocations: 244.6 kB / 0.9274 GB, free: 36.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.3067, allocations: 4 kB / 0.9274 GB, free: 36.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3067, allocations: 0 / 0.9274 GB, free: 36.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3067, allocations: 0 / 0.9274 GB, free: 36.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007213/0.3074, allocations: 0.6412 MB / 0.928 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3075, allocations: 4 kB / 0.928 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.3076, allocations: 24.05 kB / 0.928 GB, free: 35.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.3076, allocations: 8 kB / 0.928 GB, free: 35.49 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.3076, allocations: 4 kB / 0.928 GB, free: 35.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.3076, allocations: 8.047 kB / 0.9281 GB, free: 35.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3076, allocations: 4 kB / 0.9281 GB, free: 35.47 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.308, allocations: 335 kB / 0.9284 GB, free: 35.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.009e-05/0.3081, allocations: 124.7 kB / 0.9285 GB, free: 34.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.3081, allocations: 4.188 kB / 0.9285 GB, free: 34.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.3083, allocations: 23.97 kB / 0.9285 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.3084, allocations: 23.88 kB / 0.9285 GB, free: 34.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.3084, allocations: 4 kB / 0.9286 GB, free: 34.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001977/0.3086, allocations: 243.2 kB / 0.9288 GB, free: 34.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3086, allocations: 4 kB / 0.9288 GB, free: 34.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000545/0.3092, allocations: 195.6 kB / 0.929 GB, free: 34.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005274/0.3097, allocations: 249.6 kB / 0.9292 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004659/0.3102, allocations: 191.8 kB / 0.9294 GB, free: 34.06 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3102, allocations: 4 kB / 0.9294 GB, free: 34.06 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.3104, allocations: 83.83 kB / 0.9295 GB, free: 33.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008013/0.3112, allocations: 159.8 kB / 0.9296 GB, free: 33.83 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007998/0.312, allocations: 0.716 MB / 0.9303 GB, free: 33.08 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.3122, allocations: 0.7921 MB / 0.9311 GB, free: 32.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/0.3122, allocations: 35.42 kB / 0.9311 GB, free: 32.22 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.3123, allocations: 0 / 0.9311 GB, free: 32.22 MB / 0.6042 GB Notification: Performance of Templates: time 0.00757/0.3198, allocations: 5.694 MB / 0.9367 GB, free: 26.57 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)