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.001304/0.001304, allocations: 104.9 kB / 16.27 MB, free: 5.949 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.00123/0.00123, allocations: 189.9 kB / 17.2 MB, free: 5.586 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002441/0.002441, allocations: 277.2 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.211/1.211, allocations: 178.6 MB / 0.5079 GB, free: 12.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002699/0.002699, allocations: 99.84 kB / 0.6071 GB, free: 9.305 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1742, allocations: 89.13 MB / 0.6942 GB, free: 92 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002883/0.1771, allocations: 1.606 MB / 0.6957 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008999/0.178, allocations: 0.5376 MB / 0.6962 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.612e-05/0.1781, allocations: 0 / 0.6962 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.327e-05/0.1781, allocations: 3.938 kB / 0.6962 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.1784, allocations: 43.7 kB / 0.6963 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001137/0.1786, allocations: 43.89 kB / 0.6963 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.1787, allocations: 107.6 kB / 0.6964 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1788, allocations: 23.97 kB / 0.6965 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.1789, allocations: 51.78 kB / 0.6965 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.179, allocations: 47.81 kB / 0.6966 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.1791, allocations: 8 kB / 0.6966 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.195e-05/0.1791, allocations: 8 kB / 0.6966 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.502e-05/0.1791, allocations: 23.92 kB / 0.6966 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.444e-05/0.1792, allocations: 43.8 kB / 0.6966 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.1794, allocations: 91.95 kB / 0.6967 GB, free: 13.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/0.1794, allocations: 4 kB / 0.6967 GB, free: 13.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.22e-07/0.1794, allocations: 0 / 0.6967 GB, free: 13.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.1794, allocations: 0 / 0.6967 GB, free: 13.43 MB / 0.545 GB 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.0006993/0.1801, allocations: 391.2 kB / 0.6971 GB, free: 13 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1802, allocations: 16.03 kB / 0.6971 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.1802, allocations: 16.78 kB / 0.6971 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.1804, allocations: 184.2 kB / 0.6973 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.1804, allocations: 4.375 kB / 0.6973 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.1804, allocations: 4.375 kB / 0.6973 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.1806, allocations: 89.89 kB / 0.6974 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1806, allocations: 0 / 0.6974 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.1807, allocations: 8 kB / 0.6974 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1807, allocations: 0 / 0.6974 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.1808, allocations: 51.91 kB / 0.6975 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/0.1813, allocations: 340.7 kB / 0.6978 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.1817, allocations: 106.7 kB / 0.6979 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.344e-05/0.1818, allocations: 48.84 kB / 0.6979 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.1818, allocations: 3.984 kB / 0.6979 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000239/0.182, allocations: 107.2 kB / 0.698 GB, free: 11.92 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.482e-06/0.182, allocations: 0 / 0.698 GB, free: 11.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0003497/0.1824, allocations: 145.5 kB / 0.6982 GB, free: 11.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.1824, allocations: 55.41 kB / 0.6982 GB, free: 11.71 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.1826, allocations: 125.8 kB / 0.6983 GB, free: 11.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.1826, allocations: 29.7 kB / 0.6984 GB, free: 11.54 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.956e-05/0.1827, allocations: 100.3 kB / 0.6985 GB, free: 11.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.1827, allocations: 35.55 kB / 0.6985 GB, free: 11.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/0.1828, allocations: 25.7 kB / 0.6985 GB, free: 11.37 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1829, allocations: 326.8 kB / 0.6988 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.098e-05/0.183, allocations: 27.98 kB / 0.6989 GB, free: 11.01 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.765e-05/0.183, allocations: 27.98 kB / 0.6989 GB, free: 10.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.1832, allocations: 71.91 kB / 0.699 GB, free: 10.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1832, allocations: 4 kB / 0.699 GB, free: 10.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001936/0.1834, allocations: 109.6 kB / 0.6991 GB, free: 10.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1834, allocations: 9.719 kB / 0.6991 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1834, allocations: 0 / 0.6991 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1834, allocations: 0 / 0.6991 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.1836, allocations: 15.98 kB / 0.6991 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1836, allocations: 4 kB / 0.6991 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.1837, allocations: 7.938 kB / 0.6991 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.1837, allocations: 11.98 kB / 0.6991 GB, free: 10.75 MB / 0.545 GB 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 0.0001027/0.1838, allocations: 124.8 kB / 0.6992 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.1838, allocations: 7.906 kB / 0.6992 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.1841, allocations: 142 kB / 0.6994 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1841, allocations: 0 / 0.6994 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1841, allocations: 0 / 0.6994 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.1842, allocations: 7.922 kB / 0.6994 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.1844, allocations: 217.4 kB / 0.6996 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1844, allocations: 0 / 0.6996 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.634e-05/0.1845, allocations: 23.94 kB / 0.6996 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1845, allocations: 4 kB / 0.6996 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.1845, allocations: 3.984 kB / 0.6996 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1845, allocations: 0 / 0.6996 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.1845, allocations: 4 kB / 0.6996 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.1848, allocations: 171.7 kB / 0.6998 GB, free: 9.977 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.778e-05/0.1849, allocations: 81.02 kB / 0.6999 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.1849, allocations: 12 kB / 0.6999 GB, free: 9.867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.185, allocations: 11.98 kB / 0.6999 GB, free: 9.855 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.1851, allocations: 15.92 kB / 0.6999 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.1851, allocations: 11.92 kB / 0.6999 GB, free: 9.828 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.762e-05/0.1852, allocations: 99.22 kB / 0.7 GB, free: 9.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1852, allocations: 0 / 0.7 GB, free: 9.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002087/0.1854, allocations: 23.98 kB / 0.7 GB, free: 9.707 MB / 0.545 GB 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.0001309/0.1855, allocations: 103.2 kB / 0.7001 GB, free: 9.598 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002073/0.1857, allocations: 87.91 kB / 0.7002 GB, free: 9.512 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1857, allocations: 8 kB / 0.7002 GB, free: 9.504 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.382e-05/0.1858, allocations: 47.92 kB / 0.7003 GB, free: 9.457 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.186, allocations: 16.92 kB / 0.7003 GB, free: 9.441 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.1865, allocations: 244.1 kB / 0.7005 GB, free: 9.172 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.1868, allocations: 0.6963 MB / 0.7012 GB, free: 8.449 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/0.1869, allocations: 15.42 kB / 0.7012 GB, free: 8.434 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.1869, allocations: 4 kB / 0.7012 GB, free: 8.43 MB / 0.545 GB Notification: Performance of Templates: time 0.00286/0.1898, allocations: 1.269 MB / 0.7025 GB, free: 7.172 MB / 0.545 GB 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)