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.73/1.73, allocations: 287.4 MB / 303.2 MB, free: 8.289 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.001165/0.001165, allocations: 184.8 kB / 371.8 MB, free: 10.81 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.577/1.577, allocations: 205.4 MB / 0.6305 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.0008086/0.0008084, allocations: 95.11 kB / 0.7438 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004077, allocations: 12.41 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.223, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0103/0.2334, allocations: 13.76 MB / 0.9927 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004286/0.2377, allocations: 3.575 MB / 0.9962 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005086/0.2382, allocations: 23.88 kB / 0.9962 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005879/0.2388, allocations: 127.1 kB / 0.9963 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.2404, allocations: 0.5568 MB / 0.9969 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.2415, allocations: 408.8 kB / 0.9973 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001313/0.2428, allocations: 1.209 MB / 0.9985 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003224/0.2431, allocations: 232.9 kB / 0.9987 GB, free: 8.258 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005302/0.2437, allocations: 346.5 kB / 0.999 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.2439, allocations: 254.9 kB / 0.9993 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.244, allocations: 12 kB / 0.9993 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000983/0.245, allocations: 0.6276 MB / 0.9999 GB, free: 7.027 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.515e-05/0.2451, allocations: 63.67 kB / 0.9999 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.437e-05/0.2451, allocations: 93.52 kB / 1 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005287/0.2457, allocations: 486.9 kB / 1 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2457, allocations: 0 / 1 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2457, allocations: 0 / 1 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.2457, allocations: 4 kB / 1.001 GB, free: 6.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.0008925/0.2466, allocations: 0.6853 MB / 1.001 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.2467, allocations: 11.97 kB / 1.001 GB, free: 5.637 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.628e-05/0.2467, allocations: 48.31 kB / 1.001 GB, free: 5.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007358/0.2475, allocations: 0.4899 MB / 1.002 GB, free: 5.062 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.2475, allocations: 12.33 kB / 1.002 GB, free: 5.051 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.2475, allocations: 20 kB / 1.002 GB, free: 5.031 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.2479, allocations: 184.2 kB / 1.002 GB, free: 4.848 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.2479, allocations: 3.938 kB / 1.002 GB, free: 4.844 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.2479, allocations: 4 kB / 1.002 GB, free: 4.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2479, allocations: 4 kB / 1.002 GB, free: 4.836 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.2483, allocations: 156.2 kB / 1.002 GB, free: 4.684 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.0009055/0.2492, allocations: 0.8568 MB / 1.003 GB, free: 3.727 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.2494, allocations: 122.6 kB / 1.003 GB, free: 3.598 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.2495, allocations: 80.81 kB / 1.003 GB, free: 3.516 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002493/0.2498, allocations: 336.4 kB / 1.003 GB, free: 3.113 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.2498, allocations: 38.48 kB / 1.003 GB, free: 3.066 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.2498, allocations: 0 / 1.003 GB, free: 3.066 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0005185/0.2504, allocations: 244.9 kB / 1.004 GB, free: 2.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.66e-05/0.2504, allocations: 55.41 kB / 1.004 GB, free: 2.754 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.2507, allocations: 337.7 kB / 1.004 GB, free: 2.418 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.2507, allocations: 33.7 kB / 1.004 GB, free: 2.379 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.109e-05/0.2508, allocations: 192.3 kB / 1.004 GB, free: 2.188 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.2508, allocations: 47.34 kB / 1.004 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-06/0.2509, allocations: 0 / 1.004 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.584e-05/0.2509, allocations: 346.8 kB / 1.005 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.2511, allocations: 43.97 kB / 1.005 GB, free: 1.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.2512, allocations: 92.23 kB / 1.005 GB, free: 1.645 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.2514, allocations: 121.6 kB / 1.005 GB, free: 1.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2515, allocations: 4 kB / 1.005 GB, free: 1.516 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003076/0.2518, allocations: 181.2 kB / 1.005 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/0.2518, allocations: 105.8 kB / 1.005 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.2518, allocations: 0 / 1.005 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.2518, allocations: 0 / 1.005 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.252, allocations: 35.97 kB / 1.005 GB, free: 1.184 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.252, allocations: 0 / 1.005 GB, free: 1.184 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.2522, allocations: 39.75 kB / 1.005 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.2522, allocations: 7.938 kB / 1.005 GB, free: 1.137 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.051e-06/0.2523, allocations: 4 kB / 1.005 GB, free: 1.133 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002528/0.2525, allocations: 123.9 kB / 1.005 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-06/0.2525, allocations: 4 kB / 1.005 GB, free: 1.008 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-06/0.2525, allocations: 0 / 1.005 GB, free: 1.008 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.921e-05/0.2526, allocations: 27.98 kB / 1.005 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.2526, allocations: 3.938 kB / 1.005 GB, free: 0.9766 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.2528, allocations: 27.97 kB / 1.005 GB, free: 0.9492 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.2529, allocations: 8.062 kB / 1.005 GB, free: 0.9414 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.0001133/0.253, allocations: 229 kB / 1.006 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.253, allocations: 35.53 kB / 1.006 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004276/0.2535, allocations: 233.2 kB / 1.006 GB, free: 444 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.2535, allocations: 7.938 kB / 1.006 GB, free: 436 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2535, allocations: 4 kB / 1.006 GB, free: 432 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.13e-05/0.2536, allocations: 128.6 kB / 1.006 GB, free: 284 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.2536, allocations: 4 kB / 1.006 GB, free: 280 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.2538, allocations: 23.92 kB / 1.006 GB, free: 256 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.2539, allocations: 11.98 kB / 1.006 GB, free: 244 kB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003824/0.2543, allocations: 276.9 kB / 1.006 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004468/0.2547, allocations: 391.7 kB / 1.007 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001594/0.2549, allocations: 81.3 kB / 1.007 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002454/0.2552, allocations: 243.2 kB / 1.007 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of Backend: time 4.11e-07/0.2552, allocations: 4 kB / 1.007 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001202/0.2564, allocations: 414.3 kB / 1.007 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of SimCode: time 0.001483/0.2579, allocations: 1.201 MB / 1.009 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of Templates: time 0.01226/0.2702, allocations: 7.067 MB / 1.016 GB, free: 6.594 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)