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.764/1.764, allocations: 288.3 MB / 303.2 MB, free: 8.188 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.001613/0.001613, allocations: 181.1 kB / 371.8 MB, free: 10.28 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.78/1.78, allocations: 205.4 MB / 0.6306 GB, free: 9.988 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.001095/0.001094, allocations: 90.86 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005178/0.0005178, allocations: 15.36 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3035, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01173/0.3153, allocations: 12.64 MB / 0.9918 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004478/0.3199, allocations: 3.272 MB / 0.995 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000372/0.3203, allocations: 19.88 kB / 0.995 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005896/0.3209, allocations: 171.2 kB / 0.9951 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.3223, allocations: 0.6523 MB / 0.9958 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.3237, allocations: 0.5375 MB / 0.9963 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009295/0.3247, allocations: 0.734 MB / 0.997 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003239/0.325, allocations: 232.6 kB / 0.9972 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004419/0.3254, allocations: 322.9 kB / 0.9975 GB, free: 9.102 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.3257, allocations: 195.1 kB / 0.9977 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.373e-05/0.3257, allocations: 12 kB / 0.9977 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007102/0.3264, allocations: 0.4954 MB / 0.9982 GB, free: 8.402 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.718e-05/0.3265, allocations: 59.69 kB / 0.9983 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.692e-05/0.3266, allocations: 89.52 kB / 0.9984 GB, free: 8.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000533/0.3271, allocations: 451 kB / 0.9988 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.3271, allocations: 0 / 0.9988 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3271, allocations: 0 / 0.9988 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.3271, allocations: 4 kB / 0.9988 GB, free: 7.805 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.0009497/0.3281, allocations: 0.6734 MB / 0.9995 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.3282, allocations: 8.031 kB / 0.9995 GB, free: 7.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.6e-05/0.3283, allocations: 43.44 kB / 0.9995 GB, free: 7.027 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000773/0.329, allocations: 433.3 kB / 0.9999 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.3291, allocations: 20.27 kB / 0.9999 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.3291, allocations: 16 kB / 1 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/0.3294, allocations: 184.2 kB / 1 GB, free: 6.348 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3295, allocations: 0 / 1 GB, free: 6.348 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.3295, allocations: 12 kB / 1 GB, free: 6.336 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.3295, allocations: 4 kB / 1 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000293/0.3298, allocations: 140.2 kB / 1 GB, free: 6.195 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.000997/0.3308, allocations: 0.8956 MB / 1.001 GB, free: 5.199 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.3311, allocations: 130.6 kB / 1.001 GB, free: 5.062 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00022/0.3313, allocations: 336.4 kB / 1.002 GB, free: 4.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.3314, allocations: 34.56 kB / 1.002 GB, free: 4.617 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.3314, allocations: 0 / 1.002 GB, free: 4.617 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0005073/0.3319, allocations: 233.3 kB / 1.002 GB, free: 4.383 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.3319, allocations: 59.36 kB / 1.002 GB, free: 4.312 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003106/0.3322, allocations: 369.7 kB / 1.002 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.3323, allocations: 29.7 kB / 1.002 GB, free: 3.906 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.3324, allocations: 200.2 kB / 1.002 GB, free: 3.707 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.3324, allocations: 35.45 kB / 1.003 GB, free: 3.672 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.263e-06/0.3324, allocations: 4 kB / 1.003 GB, free: 3.668 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.647e-05/0.3325, allocations: 342.8 kB / 1.003 GB, free: 3.324 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.3326, allocations: 51.97 kB / 1.003 GB, free: 3.273 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.3328, allocations: 96.17 kB / 1.003 GB, free: 3.164 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.3329, allocations: 63.91 kB / 1.003 GB, free: 3.102 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3329, allocations: 0 / 1.003 GB, free: 3.102 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003084/0.3332, allocations: 181.1 kB / 1.003 GB, free: 2.918 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.48e-05/0.3333, allocations: 190 kB / 1.003 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3333, allocations: 0 / 1.003 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3333, allocations: 0 / 1.003 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.3335, allocations: 31.97 kB / 1.003 GB, free: 2.688 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3335, allocations: 3.938 kB / 1.003 GB, free: 2.684 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.3337, allocations: 35.91 kB / 1.003 GB, free: 2.648 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.3337, allocations: 7.938 kB / 1.003 GB, free: 2.641 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/0.3337, allocations: 5.562 kB / 1.003 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002734/0.334, allocations: 127.9 kB / 1.004 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-06/0.334, allocations: 0 / 1.004 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-06/0.334, allocations: 0 / 1.004 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.3341, allocations: 23.98 kB / 1.004 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.3342, allocations: 4 kB / 1.004 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.3344, allocations: 39.81 kB / 1.004 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.3344, allocations: 7.953 kB / 1.004 GB, free: 2.438 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.0001347/0.3345, allocations: 221 kB / 1.004 GB, free: 2.211 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.3346, allocations: 35.72 kB / 1.004 GB, free: 2.176 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004479/0.335, allocations: 233.3 kB / 1.004 GB, free: 1.938 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.3351, allocations: 3.938 kB / 1.004 GB, free: 1.934 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3351, allocations: 4 kB / 1.004 GB, free: 1.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3351, allocations: 3.984 kB / 1.004 GB, free: 1.926 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007214/0.3358, allocations: 0.6539 MB / 1.005 GB, free: 1.207 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3358, allocations: 3.984 kB / 1.005 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.922e-05/0.3359, allocations: 27.98 kB / 1.005 GB, free: 1.176 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3359, allocations: 4 kB / 1.005 GB, free: 1.172 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.3359, allocations: 0 / 1.005 GB, free: 1.172 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.336, allocations: 15.98 kB / 1.005 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.336, allocations: 64 / 1.005 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.3363, allocations: 369.2 kB / 1.005 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.3364, allocations: 132.7 kB / 1.005 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.3365, allocations: 0 / 1.005 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.3367, allocations: 31.97 kB / 1.005 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.3368, allocations: 15.95 kB / 1.005 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.3368, allocations: 11.98 kB / 1.005 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002185/0.337, allocations: 267.1 kB / 1.006 GB, free: 296 kB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.337, allocations: 4 kB / 1.006 GB, free: 292 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005947/0.3376, allocations: 191.6 kB / 1.006 GB, free: 100 kB / 0.6198 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.0005366/0.3382, allocations: 249.1 kB / 1.006 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000549/0.3387, allocations: 211.8 kB / 1.006 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3387, allocations: 0 / 1.006 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.3389, allocations: 88.02 kB / 1.006 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007139/0.3397, allocations: 141.7 kB / 1.006 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009839/0.3406, allocations: 0.6801 MB / 1.007 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.3411, allocations: 0.8038 MB / 1.008 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002438/0.3413, allocations: 79.25 kB / 1.008 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.458e-05/0.3414, allocations: 27.44 kB / 1.008 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of SimCode: time 2.2e-07/0.3414, allocations: 0 / 1.008 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of Templates: time 0.01241/0.3538, allocations: 6.51 MB / 1.014 GB, free: 7.348 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)