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.001061/0.001065, allocations: 106.9 kB / 15.99 MB, free: 6.355 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.001188/0.001188, allocations: 195.3 kB / 16.91 MB, free: 6.195 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.23/1.23, allocations: 222.9 MB / 240.6 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002025/0.002025, allocations: 291.2 kB / 291 MB, free: 14.74 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8874/0.8874, allocations: 169.2 MB / 0.4985 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 92.88 kB / 0.5953 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1487, allocations: 86.98 MB / 0.6803 GB, free: 8.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.00268/0.1514, allocations: 1.668 MB / 0.6819 GB, free: 6.906 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008641/0.1523, allocations: 0.526 MB / 0.6824 GB, free: 6.375 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.869e-05/0.1523, allocations: 0 / 0.6824 GB, free: 6.375 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.631e-05/0.1524, allocations: 3.984 kB / 0.6824 GB, free: 6.371 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.1526, allocations: 39.77 kB / 0.6825 GB, free: 6.332 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.978e-05/0.1528, allocations: 31.97 kB / 0.6825 GB, free: 6.301 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.1529, allocations: 115.6 kB / 0.6826 GB, free: 6.188 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.153, allocations: 24.2 kB / 0.6826 GB, free: 6.164 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.1531, allocations: 47.84 kB / 0.6827 GB, free: 6.117 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.532e-05/0.1532, allocations: 51.77 kB / 0.6827 GB, free: 6.066 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.1532, allocations: 8 kB / 0.6827 GB, free: 6.059 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.871e-05/0.1533, allocations: 8 kB / 0.6827 GB, free: 6.051 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.162e-05/0.1533, allocations: 27.89 kB / 0.6828 GB, free: 6.023 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.36e-05/0.1534, allocations: 35.86 kB / 0.6828 GB, free: 5.988 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.701e-05/0.1535, allocations: 67.88 kB / 0.6829 GB, free: 5.922 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1535, allocations: 0 / 0.6829 GB, free: 5.922 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1535, allocations: 3.938 kB / 0.6829 GB, free: 5.918 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1535, allocations: 0 / 0.6829 GB, free: 5.918 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.0007167/0.1542, allocations: 407.2 kB / 0.6833 GB, free: 5.473 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.1543, allocations: 8.031 kB / 0.6833 GB, free: 5.465 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.1543, allocations: 12.84 kB / 0.6833 GB, free: 5.453 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.1544, allocations: 180.2 kB / 0.6834 GB, free: 5.238 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.1545, allocations: 12.31 kB / 0.6835 GB, free: 5.227 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.1545, allocations: 4.375 kB / 0.6835 GB, free: 5.223 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.1547, allocations: 93.89 kB / 0.6836 GB, free: 5.125 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.1547, allocations: 0 / 0.6836 GB, free: 5.125 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1547, allocations: 4 kB / 0.6836 GB, free: 5.121 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1547, allocations: 4 kB / 0.6836 GB, free: 5.117 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.1548, allocations: 43.97 kB / 0.6836 GB, free: 5.074 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004805/0.1553, allocations: 348.5 kB / 0.6839 GB, free: 4.684 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.1556, allocations: 106.7 kB / 0.684 GB, free: 4.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.962e-05/0.1557, allocations: 44.78 kB / 0.6841 GB, free: 4.523 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.1557, allocations: 4 kB / 0.6841 GB, free: 4.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/0.156, allocations: 91.34 kB / 0.6842 GB, free: 4.418 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.156, allocations: 4 kB / 0.6842 GB, free: 4.414 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003078/0.1563, allocations: 145.5 kB / 0.6843 GB, free: 4.266 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.1563, allocations: 59.34 kB / 0.6844 GB, free: 4.195 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.127e-05/0.1564, allocations: 130.1 kB / 0.6845 GB, free: 4.059 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.1565, allocations: 29.7 kB / 0.6845 GB, free: 4.023 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.1565, allocations: 92.28 kB / 0.6846 GB, free: 3.926 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.1566, allocations: 31.69 kB / 0.6846 GB, free: 3.895 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.837e-05/0.1566, allocations: 29.7 kB / 0.6847 GB, free: 3.859 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1567, allocations: 326.8 kB / 0.685 GB, free: 3.531 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.841e-05/0.1568, allocations: 27.98 kB / 0.685 GB, free: 3.504 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.139e-05/0.1569, allocations: 31 kB / 0.685 GB, free: 3.477 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.157, allocations: 64.84 kB / 0.6851 GB, free: 3.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.157, allocations: 0 / 0.6851 GB, free: 3.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001733/0.1572, allocations: 113.5 kB / 0.6852 GB, free: 3.293 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1572, allocations: 7.938 kB / 0.6852 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1572, allocations: 4 kB / 0.6852 GB, free: 3.281 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1572, allocations: 4 kB / 0.6852 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.1573, allocations: 19.98 kB / 0.6852 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.1573, allocations: 0 / 0.6852 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.1574, allocations: 15.92 kB / 0.6853 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.1575, allocations: 0 / 0.6853 GB, free: 3.242 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.807e-05/0.1575, allocations: 125.8 kB / 0.6854 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/0.1576, allocations: 3.906 kB / 0.6854 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.1578, allocations: 153.2 kB / 0.6855 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1579, allocations: 4 kB / 0.6855 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1579, allocations: 0 / 0.6855 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1579, allocations: 3.938 kB / 0.6855 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.1581, allocations: 217.4 kB / 0.6857 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1581, allocations: 0 / 0.6857 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.679e-05/0.1582, allocations: 15.98 kB / 0.6858 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1582, allocations: 4 kB / 0.6858 GB, free: 2.664 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.1582, allocations: 4 kB / 0.6858 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1582, allocations: 0 / 0.6858 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1582, allocations: 0 / 0.6858 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.1584, allocations: 172.9 kB / 0.6859 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.1585, allocations: 85.02 kB / 0.686 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.1585, allocations: 8 kB / 0.686 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.1586, allocations: 7.984 kB / 0.686 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.1587, allocations: 11.98 kB / 0.686 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.1587, allocations: 7.938 kB / 0.686 GB, free: 2.336 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.396e-05/0.1587, allocations: 95.27 kB / 0.6861 GB, free: 2.242 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1588, allocations: 0 / 0.6861 GB, free: 2.242 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001992/0.159, allocations: 28 kB / 0.6862 GB, free: 2.215 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.0001206/0.1591, allocations: 107.2 kB / 0.6863 GB, free: 2.102 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.1593, allocations: 87.95 kB / 0.6863 GB, free: 2.016 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.1593, allocations: 3.938 kB / 0.6863 GB, free: 2.012 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.452e-05/0.1594, allocations: 55.86 kB / 0.6864 GB, free: 1.957 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.1596, allocations: 6.812 kB / 0.6864 GB, free: 1.953 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005001/0.1601, allocations: 280.3 kB / 0.6867 GB, free: 1.648 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.1603, allocations: 0.6963 MB / 0.6874 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.091e-05/0.1604, allocations: 15.44 kB / 0.6874 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1604, allocations: 4 kB / 0.6874 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of Templates: time 0.2394/0.3998, allocations: 1.25 MB / 0.6886 GB, free: 17.73 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)