Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007405/0.007405, allocations: 102.8 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 194.4 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8381/0.8381, allocations: 143 MB / 433.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 64.67 kB / 0.5955 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1771, allocations: 82.03 MB / 0.6756 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002332/0.1795, allocations: 1.257 MB / 0.6768 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004115/0.1836, allocations: 3.268 MB / 0.68 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.933e-05/0.1837, allocations: 0 / 0.68 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.245e-05/0.1837, allocations: 3.984 kB / 0.68 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.994e-05/0.1838, allocations: 3.938 kB / 0.68 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005456/0.1843, allocations: 111.5 kB / 0.6801 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.973e-05/0.1844, allocations: 35.91 kB / 0.6802 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.409e-05/0.1845, allocations: 4 kB / 0.6802 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.309e-05/0.1846, allocations: 15.92 kB / 0.6802 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.326e-05/0.1847, allocations: 23.91 kB / 0.6802 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.1847, allocations: 0 / 0.6802 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002546/0.1849, allocations: 83.69 kB / 0.6803 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.185, allocations: 11.98 kB / 0.6803 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.103e-05/0.185, allocations: 15.94 kB / 0.6803 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.1852, allocations: 75.78 kB / 0.6804 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1852, allocations: 0 / 0.6804 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.572e-06/0.1852, allocations: 0 / 0.6804 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.1853, allocations: 0 / 0.6804 GB, free: 5.418 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004831/0.1857, allocations: 343.6 kB / 0.6807 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.1858, allocations: 8.031 kB / 0.6807 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.1859, allocations: 8.844 kB / 0.6807 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.1861, allocations: 168.3 kB / 0.6809 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.1861, allocations: 8.375 kB / 0.6809 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.1861, allocations: 8.375 kB / 0.6809 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.1863, allocations: 61.73 kB / 0.681 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1863, allocations: 3.984 kB / 0.681 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1863, allocations: 0 / 0.681 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1863, allocations: 4 kB / 0.681 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.23e-05/0.1864, allocations: 19.97 kB / 0.681 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001907/0.1866, allocations: 157.7 kB / 0.6811 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.1867, allocations: 58.62 kB / 0.6812 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.855e-05/0.1867, allocations: 20.84 kB / 0.6812 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007677/0.1875, allocations: 0.5945 MB / 0.6818 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.1875, allocations: 30.56 kB / 0.6818 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.664e-06/0.1876, allocations: 0 / 0.6818 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0006176/0.1882, allocations: 306.2 kB / 0.6821 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.1882, allocations: 51.41 kB / 0.6822 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.294e-05/0.1883, allocations: 98.09 kB / 0.6823 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.1883, allocations: 29.64 kB / 0.6823 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.1884, allocations: 96.03 kB / 0.6824 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.1884, allocations: 27.55 kB / 0.6824 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.1885, allocations: 21.72 kB / 0.6824 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1886, allocations: 330.8 kB / 0.6827 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.951e-05/0.1886, allocations: 12 kB / 0.6828 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.57e-05/0.1887, allocations: 53.08 kB / 0.6828 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.363e-05/0.1888, allocations: 73.08 kB / 0.6829 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-06/0.1888, allocations: 0 / 0.6829 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001283/0.1889, allocations: 93.55 kB / 0.683 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1889, allocations: 9.719 kB / 0.683 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.189, allocations: 0 / 0.683 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.189, allocations: 4 kB / 0.683 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.339e-05/0.1891, allocations: 23.92 kB / 0.683 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1891, allocations: 12.06 kB / 0.683 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.73e-05/0.1891, allocations: 3.938 kB / 0.683 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.1891, allocations: 4 kB / 0.683 GB, free: 2.309 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.229e-05/0.1892, allocations: 113.8 kB / 0.6831 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.1893, allocations: 3.906 kB / 0.6831 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/0.1893, allocations: 12.25 kB / 0.6831 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1893, allocations: 0 / 0.6831 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1893, allocations: 448 / 0.6831 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.1893, allocations: 7.922 kB / 0.6831 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.1896, allocations: 177.7 kB / 0.6833 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1896, allocations: 4 kB / 0.6833 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.586e-05/0.1897, allocations: 19.92 kB / 0.6833 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1897, allocations: 4 kB / 0.6833 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1897, allocations: 0 / 0.6833 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1897, allocations: 80 / 0.6833 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1897, allocations: 7.922 kB / 0.6834 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.1899, allocations: 171.5 kB / 0.6835 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.973e-05/0.19, allocations: 93.02 kB / 0.6836 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.19, allocations: 4.031 kB / 0.6836 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1901, allocations: 4 kB / 0.6836 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/0.1902, allocations: 4 kB / 0.6836 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.1902, allocations: 3.938 kB / 0.6836 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.174e-05/0.1903, allocations: 87.27 kB / 0.6837 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1903, allocations: 0 / 0.6837 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002368/0.1905, allocations: 8 kB / 0.6837 GB, free: 1.508 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001588/0.1907, allocations: 111.2 kB / 0.6838 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001208/0.1908, allocations: 35.92 kB / 0.6839 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1908, allocations: 0 / 0.6839 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.335e-05/0.1908, allocations: 19.98 kB / 0.6839 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.1912, allocations: 9.719 kB / 0.6839 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006156/0.1918, allocations: 322.6 kB / 0.6842 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.1921, allocations: 0.6854 MB / 0.6849 GB, free: 280 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.553e-05/0.1921, allocations: 11.92 kB / 0.6849 GB, free: 268 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.1921, allocations: 11.44 kB / 0.6849 GB, free: 256 kB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1922, allocations: 4 kB / 0.6849 GB, free: 252 kB / 0.5137 GB Notification: Performance of Templates: time 0.003138/0.1953, allocations: 0.6405 MB / 0.6855 GB, free: 15.61 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)