Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008813/0.0008812, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 179.3 kB / 16.92 MB, free: 6.922 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.46/1.46, allocations: 223.2 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7254/0.7254, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.00037, allocations: 13.38 kB / 495.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1736, allocations: 77.53 MB / 0.56 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002035/0.1757, allocations: 1.321 MB / 0.5612 GB, free: 7.727 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009938/0.1767, allocations: 0.5144 MB / 0.5617 GB, free: 7.207 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.605e-05/0.1768, allocations: 4 kB / 0.5618 GB, free: 7.203 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/0.1768, allocations: 7.922 kB / 0.5618 GB, free: 7.195 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.1772, allocations: 39.08 kB / 0.5618 GB, free: 7.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.1773, allocations: 27.97 kB / 0.5618 GB, free: 7.133 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.1775, allocations: 111.6 kB / 0.5619 GB, free: 7.023 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1776, allocations: 19.98 kB / 0.562 GB, free: 7.004 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.1778, allocations: 43.78 kB / 0.562 GB, free: 6.961 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.1779, allocations: 43.83 kB / 0.562 GB, free: 6.918 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.1779, allocations: 8 kB / 0.562 GB, free: 6.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.217e-05/0.178, allocations: 4 kB / 0.562 GB, free: 6.906 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/0.178, allocations: 11.92 kB / 0.5621 GB, free: 6.895 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.083e-05/0.1781, allocations: 73.47 kB / 0.5621 GB, free: 6.816 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.1782, allocations: 83.94 kB / 0.5622 GB, free: 6.734 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1783, allocations: 0 / 0.5622 GB, free: 6.734 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1783, allocations: 4 kB / 0.5622 GB, free: 6.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1783, allocations: 0 / 0.5622 GB, free: 6.73 MB / 430.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.0007405/0.179, allocations: 391.2 kB / 0.5626 GB, free: 6.301 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.1791, allocations: 8.031 kB / 0.5626 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.206e-05/0.1791, allocations: 8.844 kB / 0.5626 GB, free: 6.285 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.1793, allocations: 185.2 kB / 0.5628 GB, free: 6.066 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.1793, allocations: 384 / 0.5628 GB, free: 6.066 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.1794, allocations: 8.359 kB / 0.5628 GB, free: 6.059 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.1796, allocations: 89.97 kB / 0.5629 GB, free: 5.965 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1796, allocations: 4 kB / 0.5629 GB, free: 5.961 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.1796, allocations: 7.922 kB / 0.5629 GB, free: 5.953 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1796, allocations: 0 / 0.5629 GB, free: 5.953 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.1797, allocations: 51.91 kB / 0.5629 GB, free: 5.902 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005423/0.1803, allocations: 348.6 kB / 0.5633 GB, free: 5.512 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.1807, allocations: 114.7 kB / 0.5634 GB, free: 5.391 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.432e-05/0.1808, allocations: 44.83 kB / 0.5634 GB, free: 5.344 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.1808, allocations: 0 / 0.5634 GB, free: 5.344 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002216/0.181, allocations: 95.36 kB / 0.5635 GB, free: 5.238 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.181, allocations: 4 kB / 0.5635 GB, free: 5.234 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003319/0.1814, allocations: 150.6 kB / 0.5637 GB, free: 5.082 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.1814, allocations: 55.41 kB / 0.5637 GB, free: 5.016 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.1815, allocations: 131.2 kB / 0.5638 GB, free: 4.879 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1815, allocations: 25.7 kB / 0.5639 GB, free: 4.848 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.876e-05/0.1816, allocations: 100.4 kB / 0.564 GB, free: 4.742 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.1816, allocations: 31.55 kB / 0.564 GB, free: 4.711 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.1817, allocations: 17.72 kB / 0.564 GB, free: 4.688 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1818, allocations: 326.8 kB / 0.5643 GB, free: 4.359 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.124e-05/0.1819, allocations: 27.98 kB / 0.5643 GB, free: 4.332 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.554e-05/0.1819, allocations: 31.98 kB / 0.5644 GB, free: 4.301 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.1821, allocations: 60.84 kB / 0.5644 GB, free: 4.238 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1821, allocations: 0 / 0.5644 GB, free: 4.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001844/0.1823, allocations: 113.5 kB / 0.5645 GB, free: 4.121 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1823, allocations: 4 kB / 0.5645 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1823, allocations: 0 / 0.5645 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1823, allocations: 0 / 0.5645 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.1824, allocations: 23.98 kB / 0.5646 GB, free: 4.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1824, allocations: 4 kB / 0.5646 GB, free: 4.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.1825, allocations: 11.94 kB / 0.5646 GB, free: 4.078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.1826, allocations: 3.984 kB / 0.5646 GB, free: 4.074 MB / 430.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 0.0001004/0.1827, allocations: 128.8 kB / 0.5647 GB, free: 3.941 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.1827, allocations: 7.906 kB / 0.5647 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002748/0.183, allocations: 142 kB / 0.5648 GB, free: 3.789 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.183, allocations: 4 kB / 0.5649 GB, free: 3.785 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.183, allocations: 0 / 0.5649 GB, free: 3.785 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.183, allocations: 11.86 kB / 0.5649 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.1832, allocations: 217.4 kB / 0.5651 GB, free: 3.512 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1832, allocations: 0 / 0.5651 GB, free: 3.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.043e-05/0.1833, allocations: 19.94 kB / 0.5651 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1833, allocations: 0 / 0.5651 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.1833, allocations: 7.984 kB / 0.5651 GB, free: 3.484 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1833, allocations: 0 / 0.5651 GB, free: 3.484 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1833, allocations: 0 / 0.5651 GB, free: 3.484 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.1836, allocations: 164.9 kB / 0.5653 GB, free: 3.305 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.952e-05/0.1836, allocations: 81.02 kB / 0.5653 GB, free: 3.207 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.1837, allocations: 4 kB / 0.5653 GB, free: 3.203 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.1838, allocations: 11.98 kB / 0.5653 GB, free: 3.191 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.1838, allocations: 11.98 kB / 0.5654 GB, free: 3.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.1838, allocations: 7.938 kB / 0.5654 GB, free: 3.172 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.168e-05/0.1839, allocations: 99.09 kB / 0.5655 GB, free: 3.078 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1839, allocations: 8 kB / 0.5655 GB, free: 3.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002085/0.1841, allocations: 20 kB / 0.5655 GB, free: 3.051 MB / 430.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.0001183/0.1843, allocations: 107.2 kB / 0.5656 GB, free: 2.938 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000214/0.1845, allocations: 83.97 kB / 0.5657 GB, free: 2.855 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1845, allocations: 3.938 kB / 0.5657 GB, free: 2.852 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.1846, allocations: 51.92 kB / 0.5657 GB, free: 2.801 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.1848, allocations: 10.19 kB / 0.5657 GB, free: 2.793 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004664/0.1853, allocations: 250.2 kB / 0.566 GB, free: 2.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.1856, allocations: 0.7043 MB / 0.5667 GB, free: 1.789 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.636e-05/0.1856, allocations: 8.562 kB / 0.5667 GB, free: 1.781 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.062e-05/0.1857, allocations: 19.42 kB / 0.5667 GB, free: 1.762 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1857, allocations: 0 / 0.5667 GB, free: 1.762 MB / 430.1 MB Notification: Performance of Templates: time 0.003866/0.1896, allocations: 0.9835 MB / 0.5676 GB, free: 0.7891 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)