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.0009769/0.0009769, allocations: 112.6 kB / 16.37 MB, free: 6 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.001025/0.001025, allocations: 196 kB / 17.31 MB, free: 5.613 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: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002041/0.002041, allocations: 286 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9543/0.9543, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 94.73 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.149, allocations: 86.97 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002578/0.1516, allocations: 1.609 MB / 0.6832 GB, free: 5.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000801/0.1524, allocations: 0.5384 MB / 0.6837 GB, free: 5.297 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.536e-05/0.1525, allocations: 0 / 0.6837 GB, free: 5.297 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.056e-05/0.1525, allocations: 7.922 kB / 0.6837 GB, free: 5.289 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.1527, allocations: 43.7 kB / 0.6838 GB, free: 5.246 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001097/0.1529, allocations: 39.89 kB / 0.6838 GB, free: 5.207 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.153, allocations: 111.6 kB / 0.6839 GB, free: 5.098 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.84e-05/0.1531, allocations: 23.88 kB / 0.6839 GB, free: 5.074 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.1532, allocations: 51.83 kB / 0.684 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.1533, allocations: 47.83 kB / 0.684 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.1534, allocations: 8 kB / 0.684 GB, free: 4.969 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.816e-05/0.1534, allocations: 8 kB / 0.684 GB, free: 4.961 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.151e-05/0.1534, allocations: 19.92 kB / 0.684 GB, free: 4.941 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.352e-05/0.1535, allocations: 55.77 kB / 0.6841 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.1536, allocations: 87.69 kB / 0.6842 GB, free: 4.801 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1536, allocations: 0 / 0.6842 GB, free: 4.801 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1536, allocations: 0 / 0.6842 GB, free: 4.801 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.1536, allocations: 0 / 0.6842 GB, free: 4.801 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.0006509/0.1543, allocations: 399.2 kB / 0.6846 GB, free: 4.363 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.1543, allocations: 8.031 kB / 0.6846 GB, free: 4.355 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.1544, allocations: 8.844 kB / 0.6846 GB, free: 4.348 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.1545, allocations: 188.2 kB / 0.6848 GB, free: 4.125 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.1545, allocations: 4.375 kB / 0.6848 GB, free: 4.121 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.1546, allocations: 12.31 kB / 0.6848 GB, free: 4.109 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.1547, allocations: 97.83 kB / 0.6849 GB, free: 4.008 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1547, allocations: 0 / 0.6849 GB, free: 4.008 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.1548, allocations: 0 / 0.6849 GB, free: 4.008 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1548, allocations: 4 kB / 0.6849 GB, free: 4.004 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.1549, allocations: 47.97 kB / 0.6849 GB, free: 3.957 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.1553, allocations: 344.5 kB / 0.6852 GB, free: 3.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.1556, allocations: 106.7 kB / 0.6853 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.099e-05/0.1557, allocations: 40.84 kB / 0.6854 GB, free: 3.414 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.1557, allocations: 3.938 kB / 0.6854 GB, free: 3.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.1559, allocations: 103.3 kB / 0.6855 GB, free: 3.297 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.1559, allocations: 0 / 0.6855 GB, free: 3.297 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003001/0.1562, allocations: 149.5 kB / 0.6856 GB, free: 3.145 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.1563, allocations: 55.41 kB / 0.6857 GB, free: 3.078 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.643e-05/0.1564, allocations: 121.8 kB / 0.6858 GB, free: 2.949 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1564, allocations: 29.7 kB / 0.6858 GB, free: 2.914 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.662e-05/0.1565, allocations: 96.27 kB / 0.6859 GB, free: 2.812 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.1565, allocations: 31.69 kB / 0.686 GB, free: 2.781 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.1565, allocations: 29.7 kB / 0.686 GB, free: 2.746 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.169e-05/0.1566, allocations: 322.7 kB / 0.6863 GB, free: 2.422 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.509e-05/0.1567, allocations: 31.98 kB / 0.6863 GB, free: 2.391 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.547e-05/0.1568, allocations: 39.23 kB / 0.6864 GB, free: 2.355 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.1569, allocations: 56.84 kB / 0.6864 GB, free: 2.297 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.1569, allocations: 0 / 0.6864 GB, free: 2.297 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001716/0.1571, allocations: 109.6 kB / 0.6865 GB, free: 2.184 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1571, allocations: 4 kB / 0.6865 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.1571, allocations: 0 / 0.6865 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1571, allocations: 0 / 0.6865 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.1572, allocations: 31.92 kB / 0.6865 GB, free: 2.148 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1573, allocations: 0 / 0.6865 GB, free: 2.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.1574, allocations: 11.92 kB / 0.6866 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.1574, allocations: 8 kB / 0.6866 GB, free: 2.129 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 9.373e-05/0.1575, allocations: 121.8 kB / 0.6867 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.1575, allocations: 7.906 kB / 0.6867 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002584/0.1578, allocations: 156.8 kB / 0.6868 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1578, allocations: 4 kB / 0.6868 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1578, allocations: 3.984 kB / 0.6868 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1578, allocations: 3.938 kB / 0.6869 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.158, allocations: 217.4 kB / 0.6871 GB, free: 1.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.158, allocations: 4 kB / 0.6871 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.262e-05/0.1581, allocations: 12 kB / 0.6871 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1581, allocations: 3.984 kB / 0.6871 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.1581, allocations: 8 kB / 0.6871 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1581, allocations: 0 / 0.6871 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1581, allocations: 0 / 0.6871 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.1583, allocations: 164.9 kB / 0.6872 GB, free: 1.355 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.1584, allocations: 85.02 kB / 0.6873 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.1584, allocations: 7.984 kB / 0.6873 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.1585, allocations: 8 kB / 0.6873 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.1586, allocations: 15.92 kB / 0.6874 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.1586, allocations: 11.92 kB / 0.6874 GB, free: 1.211 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.581e-05/0.1587, allocations: 100.1 kB / 0.6875 GB, free: 1.113 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1587, allocations: 0 / 0.6875 GB, free: 1.113 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002078/0.1589, allocations: 20 kB / 0.6875 GB, free: 1.094 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.0001008/0.159, allocations: 107.2 kB / 0.6876 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.1592, allocations: 83.91 kB / 0.6877 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1592, allocations: 0 / 0.6877 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.272e-05/0.1593, allocations: 51.92 kB / 0.6877 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.1595, allocations: 13.36 kB / 0.6877 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003837/0.1598, allocations: 206.6 kB / 0.6879 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2228/0.3827, allocations: 0.6952 MB / 0.6886 GB, free: 17.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.814e-05/0.3828, allocations: 11.2 kB / 0.6886 GB, free: 17.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.3829, allocations: 15.58 kB / 0.6886 GB, free: 17.75 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3829, allocations: 0.5625 kB / 0.6886 GB, free: 17.75 MB / 494.1 MB Notification: Performance of Templates: time 0.003359/0.3862, allocations: 1.094 MB / 0.6897 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)