Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7071/0.7071, allocations: 131 MB / 146.3 MB, free: 1.309 MB / 106.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009534/0.0009534, allocations: 184.2 kB / 176.4 MB, free: 4.914 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 225.7 MB / 432 MB, free: 9.668 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007513/0.0007514, allocations: 92.2 kB / 0.5003 GB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.0003578, allocations: 8 kB / 0.5885 GB, free: 72.86 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1427, allocations: 79.6 MB / 0.6663 GB, free: 9.094 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01778/0.1605, allocations: 19.77 MB / 0.6856 GB, free: 4.984 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.005925/0.1665, allocations: 5.393 MB / 0.6908 GB, free: 15.16 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004381/0.1669, allocations: 19.88 kB / 0.6908 GB, free: 15.14 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005114/0.1675, allocations: 151.1 kB / 0.691 GB, free: 14.99 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.1689, allocations: 0.6145 MB / 0.6916 GB, free: 14.38 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008944/0.1698, allocations: 355.2 kB / 0.6919 GB, free: 14.03 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001484/0.1713, allocations: 1.439 MB / 0.6933 GB, free: 12.58 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003384/0.1716, allocations: 248.8 kB / 0.6936 GB, free: 12.34 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005662/0.1722, allocations: 386.3 kB / 0.6939 GB, free: 11.96 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002976/0.1725, allocations: 258.8 kB / 0.6942 GB, free: 11.7 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.1726, allocations: 12 kB / 0.6942 GB, free: 11.69 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.1736, allocations: 0.6665 MB / 0.6948 GB, free: 11.02 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 7.697e-05/0.1737, allocations: 63.69 kB / 0.6949 GB, free: 10.96 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.1739, allocations: 188.7 kB / 0.6951 GB, free: 10.77 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008696/0.1748, allocations: 0.7088 MB / 0.6958 GB, free: 10.06 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1748, allocations: 0 / 0.6958 GB, free: 10.06 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.198e-06/0.1748, allocations: 0 / 0.6958 GB, free: 10.06 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.1748, allocations: 3.938 kB / 0.6958 GB, free: 10.05 MB / 474.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.0009611/0.1758, allocations: 0.6697 MB / 0.6964 GB, free: 9.332 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1758, allocations: 12.03 kB / 0.6964 GB, free: 9.32 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.239e-05/0.1759, allocations: 40.47 kB / 0.6965 GB, free: 9.281 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008669/0.1768, allocations: 0.494 MB / 0.697 GB, free: 8.75 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.1768, allocations: 12.33 kB / 0.697 GB, free: 8.738 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.1768, allocations: 19.94 kB / 0.697 GB, free: 8.719 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000972/0.1778, allocations: 284.1 kB / 0.6973 GB, free: 8.438 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.1778, allocations: 0 / 0.6973 GB, free: 8.438 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.1779, allocations: 4 kB / 0.6973 GB, free: 8.434 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.1779, allocations: 8 kB / 0.6973 GB, free: 8.426 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009369/0.1788, allocations: 256 kB / 0.6975 GB, free: 8.176 MB / 474.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.0009349/0.1798, allocations: 0.8333 MB / 0.6983 GB, free: 7.242 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008211/0.1806, allocations: 214.3 kB / 0.6985 GB, free: 7.023 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.1807, allocations: 60.88 kB / 0.6986 GB, free: 6.961 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002898/0.181, allocations: 340.3 kB / 0.6989 GB, free: 6.555 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.1811, allocations: 30.56 kB / 0.699 GB, free: 6.516 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.1811, allocations: 0 / 0.699 GB, free: 6.516 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.001711/0.1828, allocations: 412.8 kB / 0.6994 GB, free: 6.105 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.1828, allocations: 59.78 kB / 0.6994 GB, free: 6.035 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.1832, allocations: 341.7 kB / 0.6997 GB, free: 5.695 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1832, allocations: 29.7 kB / 0.6998 GB, free: 5.66 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.1833, allocations: 196.1 kB / 0.6999 GB, free: 5.465 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.1834, allocations: 35.48 kB / 0.7 GB, free: 5.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/0.1834, allocations: 4 kB / 0.7 GB, free: 5.426 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1835, allocations: 342.8 kB / 0.7003 GB, free: 5.082 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.1838, allocations: 75.94 kB / 0.7004 GB, free: 5.008 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.1841, allocations: 124.2 kB / 0.7005 GB, free: 4.871 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004943/0.1846, allocations: 173.6 kB / 0.7007 GB, free: 4.695 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1846, allocations: 0 / 0.7007 GB, free: 4.695 MB / 474.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006098/0.1852, allocations: 245 kB / 0.7009 GB, free: 4.449 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.151e-05/0.1853, allocations: 109.8 kB / 0.701 GB, free: 4.332 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1853, allocations: 0 / 0.701 GB, free: 4.332 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1853, allocations: 3.938 kB / 0.701 GB, free: 4.328 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.1856, allocations: 43.95 kB / 0.7011 GB, free: 4.285 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1856, allocations: 4 kB / 0.7011 GB, free: 4.281 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.1859, allocations: 47.89 kB / 0.7011 GB, free: 4.234 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.1859, allocations: 4 kB / 0.7011 GB, free: 4.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.911e-06/0.1859, allocations: 4 kB / 0.7011 GB, free: 4.227 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002654/0.1862, allocations: 111.9 kB / 0.7012 GB, free: 4.117 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.1862, allocations: 3.984 kB / 0.7012 GB, free: 4.113 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.578e-06/0.1862, allocations: 8.125 kB / 0.7012 GB, free: 4.105 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.1863, allocations: 27.92 kB / 0.7013 GB, free: 4.078 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-06/0.1864, allocations: 3.938 kB / 0.7013 GB, free: 4.074 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.1865, allocations: 31.92 kB / 0.7013 GB, free: 4.043 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.1866, allocations: 7.984 kB / 0.7013 GB, free: 4.035 MB / 474.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 0.0001932/0.1868, allocations: 217.6 kB / 0.7015 GB, free: 3.812 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.257e-05/0.1868, allocations: 39.55 kB / 0.7015 GB, free: 3.773 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007208/0.1875, allocations: 276.6 kB / 0.7018 GB, free: 3.496 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.178e-06/0.1876, allocations: 8 kB / 0.7018 GB, free: 3.488 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1876, allocations: 0 / 0.7018 GB, free: 3.488 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1876, allocations: 3.984 kB / 0.7018 GB, free: 3.484 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.1879, allocations: 317.5 kB / 0.7021 GB, free: 3.125 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1879, allocations: 0 / 0.7021 GB, free: 3.125 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.1882, allocations: 43.97 kB / 0.7022 GB, free: 3.082 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1882, allocations: 7.922 kB / 0.7022 GB, free: 3.074 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.1882, allocations: 7.984 kB / 0.7022 GB, free: 3.066 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1882, allocations: 0 / 0.7022 GB, free: 3.066 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1882, allocations: 0 / 0.7022 GB, free: 3.066 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00066/0.1889, allocations: 362.8 kB / 0.7025 GB, free: 2.695 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.002e-05/0.189, allocations: 104.8 kB / 0.7026 GB, free: 2.574 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.437e-05/0.1891, allocations: 15.94 kB / 0.7026 GB, free: 2.559 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/0.1894, allocations: 39.89 kB / 0.7027 GB, free: 2.52 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.1894, allocations: 7.984 kB / 0.7027 GB, free: 2.512 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.1894, allocations: 8 kB / 0.7027 GB, free: 2.504 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002326/0.1897, allocations: 243.2 kB / 0.7029 GB, free: 2.27 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1897, allocations: 0 / 0.7029 GB, free: 2.27 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005306/0.1902, allocations: 179.7 kB / 0.7031 GB, free: 2.094 MB / 474.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.0005393/0.1908, allocations: 249.4 kB / 0.7033 GB, free: 1.848 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007607/0.1915, allocations: 247.8 kB / 0.7036 GB, free: 1.605 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1916, allocations: 0 / 0.7036 GB, free: 1.605 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003034/0.1919, allocations: 108 kB / 0.7037 GB, free: 1.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007785/0.1927, allocations: 142.1 kB / 0.7038 GB, free: 1.363 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009138/0.1936, allocations: 0.6749 MB / 0.7045 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.1939, allocations: 0.7882 MB / 0.7052 GB, free: 15.84 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002866/0.1942, allocations: 78.89 kB / 0.7053 GB, free: 15.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.341e-05/0.1943, allocations: 35.42 kB / 0.7053 GB, free: 15.73 MB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1943, allocations: 0 / 0.7053 GB, free: 15.73 MB / 490.7 MB Notification: Performance of Templates: time 0.01156/0.2059, allocations: 6.642 MB / 0.7118 GB, free: 9.164 MB / 490.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)