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.93/1.93, allocations: 288.4 MB / 303.7 MB, free: 8.109 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.0009835/0.0009835, allocations: 176.5 kB / 372.3 MB, free: 10.14 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.73/1.73, allocations: 205.4 MB / 0.631 GB, free: 9.91 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.0008668/0.0008667, allocations: 90.36 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004671/0.0004673, allocations: 15.31 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.288, allocations: 115.3 MB / 0.9801 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01497/0.303, allocations: 13.77 MB / 0.9936 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004789/0.3079, allocations: 3.564 MB / 0.9971 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008666/0.3088, allocations: 15.94 kB / 0.9971 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006991/0.3095, allocations: 131.1 kB / 0.9972 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.3116, allocations: 0.5928 MB / 0.9978 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.313, allocations: 396 kB / 0.9982 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001634/0.3147, allocations: 1.206 MB / 0.9993 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000561/0.3153, allocations: 248.9 kB / 0.9996 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007533/0.316, allocations: 362.4 kB / 0.9999 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004138/0.3164, allocations: 246.9 kB / 1 GB, free: 6.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.314e-05/0.3165, allocations: 12 kB / 1 GB, free: 6.809 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.3176, allocations: 0.6704 MB / 1.001 GB, free: 6.137 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.3177, allocations: 55.75 kB / 1.001 GB, free: 6.082 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.318, allocations: 196.8 kB / 1.001 GB, free: 5.883 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008034/0.3188, allocations: 0.4949 MB / 1.002 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.3188, allocations: 0 / 1.002 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3188, allocations: 0 / 1.002 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.3188, allocations: 0 / 1.002 GB, free: 5.387 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.001099/0.3199, allocations: 0.6853 MB / 1.002 GB, free: 4.648 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.32, allocations: 8.031 kB / 1.002 GB, free: 4.641 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.3201, allocations: 48.38 kB / 1.002 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000883/0.321, allocations: 0.4976 MB / 1.003 GB, free: 4.059 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.321, allocations: 16.33 kB / 1.003 GB, free: 4.043 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.3211, allocations: 19.98 kB / 1.003 GB, free: 4.023 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003641/0.3214, allocations: 184.2 kB / 1.003 GB, free: 3.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3215, allocations: 0 / 1.003 GB, free: 3.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.3215, allocations: 8 kB / 1.003 GB, free: 3.832 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.3215, allocations: 4 kB / 1.003 GB, free: 3.828 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.3218, allocations: 152.1 kB / 1.003 GB, free: 3.68 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.001093/0.3229, allocations: 0.8607 MB / 1.004 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.3231, allocations: 126.6 kB / 1.004 GB, free: 2.586 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.3233, allocations: 76.81 kB / 1.004 GB, free: 2.508 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002837/0.3236, allocations: 336.4 kB / 1.004 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.3236, allocations: 38.5 kB / 1.005 GB, free: 2.059 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.3236, allocations: 0 / 1.005 GB, free: 2.059 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.000536/0.3242, allocations: 229.1 kB / 1.005 GB, free: 1.828 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.3242, allocations: 55.41 kB / 1.005 GB, free: 1.762 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.3245, allocations: 353.6 kB / 1.005 GB, free: 1.406 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.3245, allocations: 25.7 kB / 1.005 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.3246, allocations: 192.3 kB / 1.005 GB, free: 1.184 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.3247, allocations: 43.36 kB / 1.005 GB, free: 1.141 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-06/0.3247, allocations: 4 kB / 1.005 GB, free: 1.137 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.456e-05/0.3248, allocations: 338.8 kB / 1.006 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.3249, allocations: 51.95 kB / 1.006 GB, free: 0.7461 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.3251, allocations: 88.25 kB / 1.006 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.3253, allocations: 125.5 kB / 1.006 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3253, allocations: 4 kB / 1.006 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003573/0.3257, allocations: 181.2 kB / 1.006 GB, free: 336 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.205e-05/0.3258, allocations: 107.7 kB / 1.006 GB, free: 220 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3258, allocations: 0 / 1.006 GB, free: 220 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.3258, allocations: 4 kB / 1.006 GB, free: 216 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.326, allocations: 31.92 kB / 1.006 GB, free: 184 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.326, allocations: 3.984 kB / 1.006 GB, free: 180 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.3262, allocations: 35.81 kB / 1.006 GB, free: 144 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.3262, allocations: 8 kB / 1.006 GB, free: 136 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.624e-06/0.3262, allocations: 4 kB / 1.006 GB, free: 132 kB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002594/0.3265, allocations: 131.8 kB / 1.006 GB, free: 0 / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/0.3265, allocations: 0 / 1.006 GB, free: 0 / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-06/0.3265, allocations: 0 / 1.006 GB, free: 0 / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.3267, allocations: 31.92 kB / 1.006 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.3267, allocations: 7.984 kB / 1.006 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.3269, allocations: 19.98 kB / 1.006 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.327, allocations: 11.98 kB / 1.007 GB, free: 15.93 MB / 0.6355 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.0001952/0.3272, allocations: 217.1 kB / 1.007 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.524e-05/0.3272, allocations: 43.45 kB / 1.007 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005058/0.3278, allocations: 233.2 kB / 1.007 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.3278, allocations: 3.984 kB / 1.007 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.922e-06/0.3278, allocations: 8.062 kB / 1.007 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.3278, allocations: 0 / 1.007 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009543/0.3288, allocations: 0.649 MB / 1.008 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.3288, allocations: 0 / 1.008 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.3289, allocations: 24.17 kB / 1.008 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.3289, allocations: 4 kB / 1.008 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.3289, allocations: 7.938 kB / 1.008 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.3289, allocations: 7.984 kB / 1.008 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3289, allocations: 3.938 kB / 1.008 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004793/0.3294, allocations: 326.7 kB / 1.008 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.3296, allocations: 128.6 kB / 1.008 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.056e-05/0.3297, allocations: 4 kB / 1.008 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.3299, allocations: 31.97 kB / 1.008 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.33, allocations: 7.984 kB / 1.008 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.33, allocations: 4 kB / 1.008 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002904/0.3303, allocations: 247.2 kB / 1.008 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3303, allocations: 4 kB / 1.008 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006417/0.3309, allocations: 183.7 kB / 1.009 GB, free: 13.7 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.0006594/0.3316, allocations: 252.6 kB / 1.009 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005499/0.3322, allocations: 207.7 kB / 1.009 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3322, allocations: 0 / 1.009 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.3324, allocations: 88.08 kB / 1.009 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008861/0.3333, allocations: 135.6 kB / 1.009 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.3343, allocations: 0.6879 MB / 1.01 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.3347, allocations: 0.7921 MB / 1.011 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003309/0.3351, allocations: 79.25 kB / 1.011 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.526e-05/0.3351, allocations: 27.44 kB / 1.011 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/0.3352, allocations: 0 / 1.011 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of Templates: time 0.01399/0.3491, allocations: 6.221 MB / 1.017 GB, free: 5.242 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)