Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7101/0.7101, allocations: 128.7 MB / 144.5 MB, free: 1.379 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001195/0.001195, allocations: 196 kB / 174.2 MB, free: 5.938 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205 MB / 408.9 MB, free: 9.695 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 102 kB / 485.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 51.28 kB / 0.558 GB, free: 97.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1469, allocations: 75.48 MB / 0.6317 GB, free: 33.02 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01452/0.1614, allocations: 20.05 MB / 0.6513 GB, free: 12.88 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004084/0.1656, allocations: 3.794 MB / 0.655 GB, free: 9.078 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004014/0.166, allocations: 15.94 kB / 0.655 GB, free: 9.062 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005195/0.1666, allocations: 155.1 kB / 0.6551 GB, free: 8.91 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.1678, allocations: 0.6106 MB / 0.6557 GB, free: 8.297 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008865/0.1687, allocations: 356.4 kB / 0.6561 GB, free: 7.953 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001187/0.1699, allocations: 1.446 MB / 0.6575 GB, free: 6.5 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002869/0.1702, allocations: 253.3 kB / 0.6577 GB, free: 6.25 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004299/0.1706, allocations: 374.4 kB / 0.6581 GB, free: 5.883 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.1709, allocations: 278.7 kB / 0.6583 GB, free: 5.609 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.417e-05/0.171, allocations: 16 kB / 0.6583 GB, free: 5.594 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008802/0.1718, allocations: 0.6861 MB / 0.659 GB, free: 4.906 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.805e-05/0.1719, allocations: 63.62 kB / 0.6591 GB, free: 4.844 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.1721, allocations: 171 kB / 0.6592 GB, free: 4.676 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00069/0.1728, allocations: 0.6973 MB / 0.6599 GB, free: 3.977 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1728, allocations: 3.984 kB / 0.6599 GB, free: 3.973 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1728, allocations: 7.938 kB / 0.6599 GB, free: 3.965 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1728, allocations: 0 / 0.6599 GB, free: 3.965 MB / 442.7 MB 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.0009079/0.1737, allocations: 0.7319 MB / 0.6607 GB, free: 3.184 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1737, allocations: 8.031 kB / 0.6607 GB, free: 3.176 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.791e-05/0.1738, allocations: 40.47 kB / 0.6607 GB, free: 3.137 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000694/0.1745, allocations: 0.4899 MB / 0.6612 GB, free: 2.609 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.1745, allocations: 20.31 kB / 0.6612 GB, free: 2.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.1746, allocations: 16 kB / 0.6612 GB, free: 2.574 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008738/0.1755, allocations: 272 kB / 0.6615 GB, free: 2.305 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1755, allocations: 0 / 0.6615 GB, free: 2.305 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.1755, allocations: 8 kB / 0.6615 GB, free: 2.297 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1755, allocations: 4 kB / 0.6615 GB, free: 2.293 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008068/0.1763, allocations: 235.6 kB / 0.6617 GB, free: 2.062 MB / 442.7 MB 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.0009498/0.1773, allocations: 0.8293 MB / 0.6625 GB, free: 1.133 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000742/0.178, allocations: 194.4 kB / 0.6627 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.1782, allocations: 60.81 kB / 0.6628 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002876/0.1785, allocations: 340.3 kB / 0.6631 GB, free: 476 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.1785, allocations: 30.56 kB / 0.6631 GB, free: 436 kB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.954e-06/0.1785, allocations: 0 / 0.6631 GB, free: 436 kB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.001518/0.18, allocations: 368.9 kB / 0.6635 GB, free: 60 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.1801, allocations: 55.34 kB / 0.6635 GB, free: 15.99 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/0.1805, allocations: 345.7 kB / 0.6638 GB, free: 15.64 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.1805, allocations: 29.7 kB / 0.6639 GB, free: 15.61 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.1807, allocations: 208 kB / 0.6641 GB, free: 15.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.1808, allocations: 35.61 kB / 0.6641 GB, free: 15.37 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.941e-05/0.1808, allocations: 33.7 kB / 0.6641 GB, free: 15.33 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.181, allocations: 338.8 kB / 0.6645 GB, free: 14.99 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.1813, allocations: 76.78 kB / 0.6645 GB, free: 14.91 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/0.1816, allocations: 108.2 kB / 0.6646 GB, free: 14.79 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004824/0.1821, allocations: 157.5 kB / 0.6648 GB, free: 14.63 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1821, allocations: 0 / 0.6648 GB, free: 14.63 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006032/0.1827, allocations: 225.1 kB / 0.665 GB, free: 14.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1827, allocations: 4 kB / 0.665 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1827, allocations: 480 / 0.665 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1827, allocations: 4.016 kB / 0.665 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.183, allocations: 43.95 kB / 0.6651 GB, free: 14.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.183, allocations: 0 / 0.6651 GB, free: 14.35 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/0.1833, allocations: 43.86 kB / 0.6651 GB, free: 14.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.1834, allocations: 15.94 kB / 0.6651 GB, free: 14.29 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000203/0.1836, allocations: 156 kB / 0.6653 GB, free: 14.14 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000137/0.1837, allocations: 84.34 kB / 0.6653 GB, free: 14.04 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002171/0.1839, allocations: 101.7 kB / 0.6654 GB, free: 13.93 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.01e-07/0.1839, allocations: 0 / 0.6654 GB, free: 13.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization_lambda0): time 0.0003076/0.1843, allocations: 165.1 kB / 0.6656 GB, free: 13.76 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/0.1843, allocations: 9.703 kB / 0.6656 GB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-06/0.1843, allocations: 4 kB / 0.6656 GB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-06/0.1843, allocations: 0 / 0.6656 GB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.785e-05/0.1844, allocations: 23.92 kB / 0.6656 GB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.1844, allocations: 4 kB / 0.6656 GB, free: 13.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.1846, allocations: 27.92 kB / 0.6657 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.1846, allocations: 7.984 kB / 0.6657 GB, free: 13.69 MB / 458.7 MB 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.994e-05/0.1847, allocations: 180.3 kB / 0.6658 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-05/0.1848, allocations: 35.56 kB / 0.6659 GB, free: 13.47 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007065/0.1855, allocations: 260.6 kB / 0.6661 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.1855, allocations: 3.984 kB / 0.6661 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1855, allocations: 0 / 0.6661 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1855, allocations: 4 kB / 0.6661 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003664/0.1859, allocations: 329.2 kB / 0.6664 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1859, allocations: 0 / 0.6664 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.1861, allocations: 39.95 kB / 0.6665 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1861, allocations: 4 kB / 0.6665 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.1862, allocations: 4 kB / 0.6665 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1862, allocations: 3.938 kB / 0.6665 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1862, allocations: 0 / 0.6665 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.1874, allocations: 1.028 MB / 0.6675 GB, free: 11.69 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.429e-05/0.1875, allocations: 104.7 kB / 0.6676 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.1876, allocations: 0 / 0.6676 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/0.1879, allocations: 43.86 kB / 0.6676 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.188, allocations: 7.984 kB / 0.6676 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.188, allocations: 0 / 0.6676 GB, free: 11.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002456/0.1882, allocations: 255.1 kB / 0.6679 GB, free: 11.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1882, allocations: 3.938 kB / 0.6679 GB, free: 11.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007761/0.189, allocations: 183.7 kB / 0.6681 GB, free: 11.09 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005024/0.1895, allocations: 241.4 kB / 0.6683 GB, free: 10.85 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007131/0.1902, allocations: 223.8 kB / 0.6685 GB, free: 10.63 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1903, allocations: 3.938 kB / 0.6685 GB, free: 10.63 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002825/0.1905, allocations: 91.86 kB / 0.6686 GB, free: 10.54 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007938/0.1913, allocations: 148.7 kB / 0.6687 GB, free: 10.39 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.1925, allocations: 0.7878 MB / 0.6695 GB, free: 9.566 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.1929, allocations: 0.796 MB / 0.6703 GB, free: 8.742 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002624/0.1931, allocations: 75.06 kB / 0.6704 GB, free: 8.672 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.708e-05/0.1932, allocations: 39.42 kB / 0.6704 GB, free: 8.633 MB / 458.7 MB Notification: Performance of SimCode: time 3.91e-07/0.1932, allocations: 0 / 0.6704 GB, free: 8.633 MB / 458.7 MB Notification: Performance of Templates: time 0.01156/0.2048, allocations: 6.788 MB / 0.677 GB, free: 1.93 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)