Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007903/0.0007905, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005554/0.005555, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.312/1.312, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001704/0.001704, allocations: 266.4 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9303/0.9303, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004105, allocations: 16.62 kB / 0.5987 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.175, allocations: 88.55 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001758/0.1768, allocations: 1.319 MB / 0.6864 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008214/0.1776, allocations: 0.514 MB / 0.6869 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.456e-05/0.1777, allocations: 0 / 0.6869 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.227e-05/0.1777, allocations: 7.922 kB / 0.6869 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.178, allocations: 38.23 kB / 0.687 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001112/0.1781, allocations: 39.84 kB / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.1782, allocations: 104.1 kB / 0.6871 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1784, allocations: 26.64 kB / 0.6871 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.1785, allocations: 35.86 kB / 0.6872 GB, free: 13 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.581e-05/0.1786, allocations: 51.75 kB / 0.6872 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.1786, allocations: 5.219 kB / 0.6872 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.669e-05/0.1786, allocations: 4 kB / 0.6872 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.644e-05/0.1787, allocations: 7.984 kB / 0.6872 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.289e-05/0.1787, allocations: 74.91 kB / 0.6873 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.1788, allocations: 83.67 kB / 0.6874 GB, free: 12.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.1789, allocations: 4 kB / 0.6874 GB, free: 12.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1789, allocations: 0 / 0.6874 GB, free: 12.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.1789, allocations: 0.75 kB / 0.6874 GB, free: 12.77 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006186/0.1795, allocations: 390.1 kB / 0.6878 GB, free: 12.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.1795, allocations: 12.02 kB / 0.6878 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.1796, allocations: 11.69 kB / 0.6878 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.1797, allocations: 180.2 kB / 0.688 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1797, allocations: 384 / 0.688 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.1798, allocations: 12.38 kB / 0.688 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1799, allocations: 92.28 kB / 0.6881 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.18, allocations: 0 / 0.6881 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.18, allocations: 0 / 0.6881 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.18, allocations: 1.688 kB / 0.6881 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.1801, allocations: 59.89 kB / 0.6881 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.1806, allocations: 342 kB / 0.6884 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.1808, allocations: 109.5 kB / 0.6885 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.724e-05/0.1809, allocations: 44.83 kB / 0.6886 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.181, allocations: 8 kB / 0.6886 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/0.1812, allocations: 91.98 kB / 0.6887 GB, free: 11.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.442e-06/0.1812, allocations: 3.938 kB / 0.6887 GB, free: 11.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003118/0.1815, allocations: 149.5 kB / 0.6888 GB, free: 11.13 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.1815, allocations: 55.41 kB / 0.6889 GB, free: 11.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.425e-05/0.1816, allocations: 125.8 kB / 0.689 GB, free: 10.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.1817, allocations: 29.7 kB / 0.689 GB, free: 10.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.1817, allocations: 92.28 kB / 0.6891 GB, free: 10.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.1818, allocations: 31.69 kB / 0.6891 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.1818, allocations: 17.72 kB / 0.6892 GB, free: 10.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.875e-05/0.1819, allocations: 326.8 kB / 0.6895 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-05/0.182, allocations: 31.92 kB / 0.6895 GB, free: 10.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.457e-05/0.182, allocations: 31.98 kB / 0.6895 GB, free: 10.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.1821, allocations: 63.86 kB / 0.6896 GB, free: 10.29 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1822, allocations: 0 / 0.6896 GB, free: 10.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001738/0.1823, allocations: 113.6 kB / 0.6897 GB, free: 10.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1824, allocations: 5.719 kB / 0.6897 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.1824, allocations: 0 / 0.6897 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.1824, allocations: 0 / 0.6897 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.1825, allocations: 27.98 kB / 0.6897 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1825, allocations: 0 / 0.6897 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.1826, allocations: 15.88 kB / 0.6898 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.1826, allocations: 7.984 kB / 0.6898 GB, free: 10.12 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.954e-05/0.1827, allocations: 119.2 kB / 0.6899 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.1828, allocations: 7.906 kB / 0.6899 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/0.183, allocations: 150 kB / 0.69 GB, free: 9.836 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.183, allocations: 0 / 0.69 GB, free: 9.836 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1831, allocations: 0 / 0.69 GB, free: 9.836 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.1831, allocations: 11.92 kB / 0.69 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.1832, allocations: 209.5 kB / 0.6902 GB, free: 9.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1832, allocations: 3.938 kB / 0.6902 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.928e-05/0.1833, allocations: 16 kB / 0.6903 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1833, allocations: 0 / 0.6903 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1834, allocations: 7.984 kB / 0.6903 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.1834, allocations: 4 kB / 0.6903 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1834, allocations: 4 kB / 0.6903 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.1836, allocations: 168.4 kB / 0.6904 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.1837, allocations: 81.02 kB / 0.6905 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.1837, allocations: 4 kB / 0.6905 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.1838, allocations: 11.98 kB / 0.6905 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.1839, allocations: 15.92 kB / 0.6905 GB, free: 9.227 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.1839, allocations: 11.94 kB / 0.6905 GB, free: 9.215 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.941e-05/0.1839, allocations: 100.1 kB / 0.6906 GB, free: 9.117 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1839, allocations: 3.938 kB / 0.6906 GB, free: 9.113 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002069/0.1842, allocations: 23.91 kB / 0.6907 GB, free: 9.09 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * 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: 0 * When equations: 2 * 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.0001055/0.1843, allocations: 107.2 kB / 0.6908 GB, free: 8.977 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001784/0.1845, allocations: 83.91 kB / 0.6909 GB, free: 8.895 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1845, allocations: 0 / 0.6909 GB, free: 8.895 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.669e-05/0.1846, allocations: 47.98 kB / 0.6909 GB, free: 8.848 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.1847, allocations: 10.64 kB / 0.6909 GB, free: 8.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004289/0.1852, allocations: 251.1 kB / 0.6911 GB, free: 8.566 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.1854, allocations: 0.7004 MB / 0.6918 GB, free: 7.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.731e-05/0.1855, allocations: 12.5 kB / 0.6918 GB, free: 7.828 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/0.1856, allocations: 15.42 kB / 0.6919 GB, free: 7.812 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1856, allocations: 0 / 0.6919 GB, free: 7.812 MB / 494.1 MB Notification: Performance of Templates: time 0.00327/0.1888, allocations: 0.9821 MB / 0.6928 GB, free: 6.844 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)