Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.81/1.81, allocations: 288.4 MB / 303.4 MB, free: 8.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 189.2 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.732/1.732, allocations: 205.4 MB / 0.6307 GB, free: 9.969 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009663/0.0009663, allocations: 97.02 kB / 0.7441 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004486/0.0004487, allocations: 11.34 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2772, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0114/0.2887, allocations: 13.77 MB / 0.993 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004611/0.2933, allocations: 3.565 MB / 0.9965 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004136/0.2938, allocations: 19.88 kB / 0.9965 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005173/0.2943, allocations: 127.1 kB / 0.9966 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.2957, allocations: 0.5657 MB / 0.9972 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.2969, allocations: 400.9 kB / 0.9976 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001167/0.2981, allocations: 1.196 MB / 0.9988 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002964/0.2984, allocations: 220.6 kB / 0.999 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004605/0.2988, allocations: 346.4 kB / 0.9993 GB, free: 7.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.2991, allocations: 254.8 kB / 0.9995 GB, free: 7.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.2991, allocations: 12 kB / 0.9995 GB, free: 7.168 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00092/0.3001, allocations: 0.6315 MB / 1 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.482e-05/0.3001, allocations: 63.67 kB / 1 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.129e-05/0.3002, allocations: 93.52 kB / 1 GB, free: 6.375 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005608/0.3008, allocations: 490.9 kB / 1.001 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3008, allocations: 0 / 1.001 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3008, allocations: 4 kB / 1.001 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.3008, allocations: 0 / 1.001 GB, free: 5.891 MB / 0.6198 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.0009357/0.3018, allocations: 0.6889 MB / 1.001 GB, free: 5.148 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.3018, allocations: 8.031 kB / 1.001 GB, free: 5.141 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.357e-05/0.3019, allocations: 47.44 kB / 1.002 GB, free: 5.094 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007557/0.3026, allocations: 485.1 kB / 1.002 GB, free: 4.582 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.3027, allocations: 12.33 kB / 1.002 GB, free: 4.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.3027, allocations: 20 kB / 1.002 GB, free: 4.551 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.3031, allocations: 188.1 kB / 1.002 GB, free: 4.363 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3031, allocations: 0 / 1.002 GB, free: 4.363 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.3031, allocations: 4 kB / 1.002 GB, free: 4.359 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3031, allocations: 7.984 kB / 1.002 GB, free: 4.352 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.3034, allocations: 152.2 kB / 1.002 GB, free: 4.203 MB / 0.6198 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.0009315/0.3044, allocations: 0.8645 MB / 1.003 GB, free: 3.238 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.3046, allocations: 118.6 kB / 1.003 GB, free: 3.113 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.3048, allocations: 84.81 kB / 1.003 GB, free: 3.027 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002451/0.305, allocations: 336.4 kB / 1.004 GB, free: 2.625 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.305, allocations: 30.56 kB / 1.004 GB, free: 2.586 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.305, allocations: 0 / 1.004 GB, free: 2.586 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0005051/0.3056, allocations: 241 kB / 1.004 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.3056, allocations: 55.41 kB / 1.004 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.3059, allocations: 341.7 kB / 1.004 GB, free: 1.934 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.3059, allocations: 29.7 kB / 1.004 GB, free: 1.898 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.306, allocations: 200.3 kB / 1.005 GB, free: 1.699 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.3061, allocations: 39.39 kB / 1.005 GB, free: 1.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.3061, allocations: 0 / 1.005 GB, free: 1.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.838e-05/0.3062, allocations: 342.8 kB / 1.005 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.3063, allocations: 47.95 kB / 1.005 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.3064, allocations: 92.25 kB / 1.005 GB, free: 1.164 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.3066, allocations: 55.91 kB / 1.005 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3066, allocations: 3.938 kB / 1.005 GB, free: 1.105 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003048/0.3069, allocations: 185.2 kB / 1.005 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.54e-05/0.3069, allocations: 109.7 kB / 1.005 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.307, allocations: 0 / 1.005 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.307, allocations: 4 kB / 1.005 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.3071, allocations: 27.98 kB / 1.005 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3071, allocations: 0 / 1.005 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.3074, allocations: 35.81 kB / 1.005 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.3074, allocations: 4 kB / 1.005 GB, free: 0.7305 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.042e-06/0.3074, allocations: 8 kB / 1.005 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002604/0.3077, allocations: 123.8 kB / 1.006 GB, free: 0.6016 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-06/0.3077, allocations: 4 kB / 1.006 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-06/0.3077, allocations: 0 / 1.006 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.3078, allocations: 32.05 kB / 1.006 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.3078, allocations: 7.984 kB / 1.006 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.308, allocations: 27.97 kB / 1.006 GB, free: 0.5312 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.308, allocations: 4 kB / 1.006 GB, free: 0.5273 MB / 0.6198 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.0001493/0.3082, allocations: 229 kB / 1.006 GB, free: 300 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/0.3082, allocations: 35.53 kB / 1.006 GB, free: 264 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004551/0.3087, allocations: 229.2 kB / 1.006 GB, free: 24 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.3087, allocations: 4 kB / 1.006 GB, free: 20 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3087, allocations: 0 / 1.006 GB, free: 20 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3087, allocations: 7.984 kB / 1.006 GB, free: 12 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.3097, allocations: 0.6471 MB / 1.007 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3098, allocations: 4.094 kB / 1.007 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.3099, allocations: 23.98 kB / 1.007 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.3099, allocations: 4.281 kB / 1.007 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.3099, allocations: 7.984 kB / 1.007 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.3099, allocations: 7.938 kB / 1.007 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.3099, allocations: 7.891 kB / 1.007 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004807/0.3104, allocations: 331.8 kB / 1.007 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.3106, allocations: 124.6 kB / 1.007 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.3106, allocations: 4 kB / 1.007 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.3108, allocations: 35.91 kB / 1.007 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.3109, allocations: 11.94 kB / 1.007 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.3109, allocations: 4 kB / 1.007 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002907/0.3112, allocations: 251.2 kB / 1.008 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3112, allocations: 7.938 kB / 1.008 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006554/0.3119, allocations: 183.7 kB / 1.008 GB, free: 14.27 MB / 0.6355 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.0006631/0.3126, allocations: 237.9 kB / 1.008 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005622/0.3131, allocations: 199.8 kB / 1.008 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3132, allocations: 0 / 1.008 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.3134, allocations: 84.08 kB / 1.008 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008848/0.3143, allocations: 143 kB / 1.008 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.3153, allocations: 0.6834 MB / 1.009 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/0.3158, allocations: 0.796 MB / 1.01 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002756/0.3161, allocations: 71.05 kB / 1.01 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.842e-05/0.3162, allocations: 35.42 kB / 1.01 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of SimCode: time 2.21e-07/0.3162, allocations: 0 / 1.01 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of Templates: time 0.01246/0.3287, allocations: 6.125 MB / 1.016 GB, free: 5.941 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)