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 2.783/2.783, allocations: 287.5 MB / 302.4 MB, free: 8.285 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.001339/0.001339, allocations: 178 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.292/2.292, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.001458/0.001458, allocations: 85.41 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005485/0.0005489, allocations: 11.67 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.242, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01749/0.2596, allocations: 13.77 MB / 0.9918 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006884/0.2665, allocations: 3.576 MB / 0.9953 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006886/0.2673, allocations: 19.88 kB / 0.9953 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006614/0.268, allocations: 131.1 kB / 0.9954 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002233/0.2702, allocations: 0.5566 MB / 0.996 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.272, allocations: 409.9 kB / 0.9964 GB, free: 9.871 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002051/0.274, allocations: 1.192 MB / 0.9975 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004583/0.2745, allocations: 228.6 kB / 0.9977 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008335/0.2754, allocations: 350.5 kB / 0.9981 GB, free: 8.102 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003984/0.2758, allocations: 242.8 kB / 0.9983 GB, free: 7.863 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.25e-05/0.2759, allocations: 15.98 kB / 0.9983 GB, free: 7.848 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001695/0.2776, allocations: 0.6276 MB / 0.9989 GB, free: 7.219 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.2777, allocations: 59.69 kB / 0.999 GB, free: 7.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.2779, allocations: 97.52 kB / 0.9991 GB, free: 7.059 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009167/0.2788, allocations: 490.9 kB / 0.9996 GB, free: 6.578 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2788, allocations: 0 / 0.9996 GB, free: 6.578 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.287e-06/0.2788, allocations: 0 / 0.9996 GB, free: 6.578 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.2788, allocations: 3.938 kB / 0.9996 GB, free: 6.574 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.001285/0.2801, allocations: 0.6852 MB / 1 GB, free: 5.836 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.2802, allocations: 8.031 kB / 1 GB, free: 5.828 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.2803, allocations: 47.38 kB / 1 GB, free: 5.781 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.2815, allocations: 493.1 kB / 1.001 GB, free: 5.262 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.2815, allocations: 12.33 kB / 1.001 GB, free: 5.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.2816, allocations: 23.94 kB / 1.001 GB, free: 5.227 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005152/0.2821, allocations: 180.2 kB / 1.001 GB, free: 5.047 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.2821, allocations: 0 / 1.001 GB, free: 5.047 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.2822, allocations: 4 kB / 1.001 GB, free: 5.043 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.497e-06/0.2822, allocations: 4 kB / 1.001 GB, free: 5.039 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005032/0.2827, allocations: 152.2 kB / 1.001 GB, free: 4.891 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.001387/0.2841, allocations: 0.8606 MB / 1.002 GB, free: 3.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004072/0.2845, allocations: 122.6 kB / 1.002 GB, free: 3.801 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.2848, allocations: 80.81 kB / 1.002 GB, free: 3.719 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003262/0.2852, allocations: 332.4 kB / 1.002 GB, free: 3.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.2852, allocations: 38.56 kB / 1.003 GB, free: 3.273 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 3.798e-06/0.2852, allocations: 3.984 kB / 1.003 GB, free: 3.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0008304/0.286, allocations: 233 kB / 1.003 GB, free: 3.035 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.2861, allocations: 59.41 kB / 1.003 GB, free: 2.965 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004285/0.2865, allocations: 341.7 kB / 1.003 GB, free: 2.625 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.2866, allocations: 33.7 kB / 1.003 GB, free: 2.586 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.2867, allocations: 188.3 kB / 1.003 GB, free: 2.398 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.339e-05/0.2868, allocations: 47.38 kB / 1.003 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/0.2868, allocations: 4 kB / 1.003 GB, free: 2.348 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.48e-05/0.2869, allocations: 342.8 kB / 1.004 GB, free: 2.004 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.2871, allocations: 47.97 kB / 1.004 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.2874, allocations: 88.69 kB / 1.004 GB, free: 1.855 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.2876, allocations: 63.84 kB / 1.004 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2876, allocations: 0 / 1.004 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005479/0.2882, allocations: 185.2 kB / 1.004 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.126e-05/0.2882, allocations: 105.8 kB / 1.004 GB, free: 1.492 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2883, allocations: 0 / 1.004 GB, free: 1.492 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.2883, allocations: 0 / 1.004 GB, free: 1.492 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.2886, allocations: 27.98 kB / 1.004 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.2886, allocations: 0 / 1.004 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/0.289, allocations: 43.75 kB / 1.004 GB, free: 1.422 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.289, allocations: 7.938 kB / 1.004 GB, free: 1.414 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/0.289, allocations: 4 kB / 1.004 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004545/0.2895, allocations: 119.9 kB / 1.004 GB, free: 1.293 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.2895, allocations: 4 kB / 1.004 GB, free: 1.289 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.656e-06/0.2895, allocations: 4 kB / 1.004 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.2897, allocations: 23.98 kB / 1.004 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.2897, allocations: 4.047 kB / 1.004 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003423/0.2901, allocations: 31.98 kB / 1.004 GB, free: 1.227 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.2901, allocations: 7.984 kB / 1.004 GB, free: 1.219 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.0001974/0.2903, allocations: 225 kB / 1.005 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-05/0.2904, allocations: 35.53 kB / 1.005 GB, free: 0.9531 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007033/0.2911, allocations: 232.8 kB / 1.005 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.2912, allocations: 7.984 kB / 1.005 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2912, allocations: 192 / 1.005 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2912, allocations: 0 / 1.005 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.2924, allocations: 0.6451 MB / 1.006 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.2924, allocations: 4 kB / 1.006 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.2927, allocations: 23.94 kB / 1.006 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.2927, allocations: 4 kB / 1.006 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.2927, allocations: 4 kB / 1.006 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-05/0.2927, allocations: 7.938 kB / 1.006 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.2927, allocations: 8.031 kB / 1.006 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007178/0.2935, allocations: 325.1 kB / 1.006 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/0.2937, allocations: 128.6 kB / 1.006 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.588e-05/0.2938, allocations: 4 kB / 1.006 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003847/0.2942, allocations: 31.84 kB / 1.006 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/0.2942, allocations: 19.94 kB / 1.006 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.2943, allocations: 4 kB / 1.006 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004042/0.2947, allocations: 251.1 kB / 1.006 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2947, allocations: 0 / 1.006 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008874/0.2956, allocations: 187.7 kB / 1.006 GB, free: 14.97 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.0007539/0.2964, allocations: 245.8 kB / 1.007 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008929/0.2973, allocations: 199.8 kB / 1.007 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2973, allocations: 0 / 1.007 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003143/0.2976, allocations: 91.88 kB / 1.007 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.2991, allocations: 146.1 kB / 1.007 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.3005, allocations: 0.6759 MB / 1.008 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.301, allocations: 0.796 MB / 1.009 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004604/0.3015, allocations: 74.84 kB / 1.009 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.3016, allocations: 27.44 kB / 1.009 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of SimCode: time 1.413e-06/0.3016, allocations: 0 / 1.009 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of Templates: time 0.0197/0.3213, allocations: 6.11 MB / 1.015 GB, free: 6.633 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)