Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.866/1.866, allocations: 287.5 MB / 302.6 MB, free: 8.246 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.001444/0.001444, allocations: 182 kB / 371.2 MB, free: 10.75 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.649/1.649, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.001017/0.001017, allocations: 88.84 kB / 0.7432 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005929/0.0005929, allocations: 15.88 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2835, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0136/0.2972, allocations: 13.77 MB / 0.9921 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004617/0.3019, allocations: 3.564 MB / 0.9956 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007703/0.3027, allocations: 19.88 kB / 0.9956 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006861/0.3034, allocations: 131.1 kB / 0.9957 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002021/0.3055, allocations: 0.5645 MB / 0.9963 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.3068, allocations: 401.1 kB / 0.9967 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001553/0.3084, allocations: 1.208 MB / 0.9979 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005274/0.3089, allocations: 236.9 kB / 0.9981 GB, free: 8.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007896/0.3097, allocations: 350.4 kB / 0.9984 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004433/0.3102, allocations: 246.9 kB / 0.9987 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.897e-05/0.3103, allocations: 12 kB / 0.9987 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.3115, allocations: 0.6353 MB / 0.9993 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.3116, allocations: 59.69 kB / 0.9993 GB, free: 6.957 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.3118, allocations: 89.52 kB / 0.9994 GB, free: 6.863 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008919/0.3127, allocations: 490.9 kB / 0.9999 GB, free: 6.383 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3127, allocations: 7.938 kB / 0.9999 GB, free: 6.375 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3127, allocations: 0 / 0.9999 GB, free: 6.375 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.3127, allocations: 0 / 0.9999 GB, free: 6.375 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.001304/0.3141, allocations: 0.6775 MB / 1.001 GB, free: 5.645 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.3141, allocations: 12.03 kB / 1.001 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.3143, allocations: 48.31 kB / 1.001 GB, free: 5.586 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.3153, allocations: 0.4976 MB / 1.001 GB, free: 5.051 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.3153, allocations: 20.31 kB / 1.001 GB, free: 5.031 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.3154, allocations: 16 kB / 1.001 GB, free: 5.016 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/0.3158, allocations: 180.2 kB / 1.001 GB, free: 4.836 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3158, allocations: 0 / 1.001 GB, free: 4.836 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.3158, allocations: 4 kB / 1.001 GB, free: 4.832 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3159, allocations: 11.94 kB / 1.001 GB, free: 4.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003143/0.3162, allocations: 148.2 kB / 1.001 GB, free: 4.676 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.001155/0.3173, allocations: 0.8607 MB / 1.002 GB, free: 3.715 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.3176, allocations: 126.6 kB / 1.002 GB, free: 3.582 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.3178, allocations: 76.81 kB / 1.003 GB, free: 3.504 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000277/0.318, allocations: 336.4 kB / 1.003 GB, free: 3.102 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.3181, allocations: 46.5 kB / 1.003 GB, free: 3.047 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.3181, allocations: 0 / 1.003 GB, free: 3.047 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0005805/0.3187, allocations: 229.1 kB / 1.003 GB, free: 2.816 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.3187, allocations: 55.34 kB / 1.003 GB, free: 2.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.319, allocations: 349.7 kB / 1.003 GB, free: 2.402 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.319, allocations: 29.7 kB / 1.004 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.725e-05/0.3191, allocations: 188.3 kB / 1.004 GB, free: 2.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.3192, allocations: 43.36 kB / 1.004 GB, free: 2.137 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-06/0.3192, allocations: 4 kB / 1.004 GB, free: 2.133 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.206e-05/0.3193, allocations: 338.8 kB / 1.004 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.3194, allocations: 55.95 kB / 1.004 GB, free: 1.738 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.3196, allocations: 84.25 kB / 1.004 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.3198, allocations: 125.6 kB / 1.004 GB, free: 1.512 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3198, allocations: 3.938 kB / 1.004 GB, free: 1.508 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003319/0.3201, allocations: 185.2 kB / 1.004 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.14e-05/0.3202, allocations: 105.8 kB / 1.005 GB, free: 1.207 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3202, allocations: 0 / 1.005 GB, free: 1.207 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3202, allocations: 0 / 1.005 GB, free: 1.207 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.3204, allocations: 23.98 kB / 1.005 GB, free: 1.184 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3204, allocations: 8 kB / 1.005 GB, free: 1.176 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.3206, allocations: 39.75 kB / 1.005 GB, free: 1.137 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.3207, allocations: 4 kB / 1.005 GB, free: 1.133 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.3207, allocations: 4 kB / 1.005 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002634/0.3209, allocations: 127.8 kB / 1.005 GB, free: 1.004 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.321, allocations: 0 / 1.005 GB, free: 1.004 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.098e-06/0.321, allocations: 4 kB / 1.005 GB, free: 1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.961e-05/0.3211, allocations: 27.92 kB / 1.005 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.3211, allocations: 3.984 kB / 1.005 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.3213, allocations: 23.98 kB / 1.005 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.3213, allocations: 11.98 kB / 1.005 GB, free: 0.9336 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.000159/0.3215, allocations: 217.1 kB / 1.005 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.642e-05/0.3215, allocations: 43.52 kB / 1.005 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004664/0.322, allocations: 243.3 kB / 1.005 GB, free: 432 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.322, allocations: 4.094 kB / 1.005 GB, free: 428 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.3221, allocations: 3.984 kB / 1.005 GB, free: 424 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.3221, allocations: 0 / 1.005 GB, free: 424 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009197/0.323, allocations: 0.6467 MB / 1.006 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.323, allocations: 0 / 1.006 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.3231, allocations: 27.98 kB / 1.006 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3231, allocations: 4.281 kB / 1.006 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.3232, allocations: 8 kB / 1.006 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.3232, allocations: 7.922 kB / 1.006 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.3232, allocations: 7.938 kB / 1.006 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004782/0.3237, allocations: 321.5 kB / 1.006 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.3238, allocations: 128.6 kB / 1.006 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.766e-05/0.3239, allocations: 4 kB / 1.006 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.3241, allocations: 35.86 kB / 1.006 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.3242, allocations: 11.98 kB / 1.007 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.3242, allocations: 4 kB / 1.007 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002783/0.3245, allocations: 243.2 kB / 1.007 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.304e-06/0.3245, allocations: 0 / 1.007 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006055/0.3251, allocations: 187.6 kB / 1.007 GB, free: 14.69 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.0005991/0.3258, allocations: 246.6 kB / 1.007 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005251/0.3263, allocations: 211.7 kB / 1.007 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3263, allocations: 0 / 1.007 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.3265, allocations: 79.89 kB / 1.007 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009042/0.3274, allocations: 146.4 kB / 1.008 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.3285, allocations: 0.687 MB / 1.008 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.3289, allocations: 0.796 MB / 1.009 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003101/0.3293, allocations: 79.25 kB / 1.009 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.975e-05/0.3293, allocations: 27.44 kB / 1.009 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of SimCode: time 5.41e-07/0.3294, allocations: 0 / 1.009 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of Templates: time 0.01308/0.3424, allocations: 6.121 MB / 1.015 GB, free: 6.32 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)