Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008077/0.0008077, allocations: 98.27 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.004851/0.004851, allocations: 169.9 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.293/1.293, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001738/0.001738, allocations: 270.8 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9331/0.9331, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004221/0.0004221, allocations: 21.66 kB / 0.5987 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1534, allocations: 88.54 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001479/0.1549, allocations: 1.175 MB / 0.6863 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007244/0.1557, allocations: 489.9 kB / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.048e-05/0.1557, allocations: 0 / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.59e-05/0.1557, allocations: 4.641 kB / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.156, allocations: 17.84 kB / 0.6868 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.625e-05/0.1561, allocations: 27.91 kB / 0.6868 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.759e-05/0.1561, allocations: 43.91 kB / 0.6868 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.371e-05/0.1562, allocations: 13.39 kB / 0.6868 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.592e-05/0.1563, allocations: 27.91 kB / 0.6869 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.074e-05/0.1564, allocations: 23.91 kB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.1564, allocations: 1.531 kB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.196e-05/0.1565, allocations: 4 kB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.025e-05/0.1565, allocations: 7.922 kB / 0.6869 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.822e-05/0.1565, allocations: 41.62 kB / 0.6869 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.772e-05/0.1566, allocations: 41 kB / 0.687 GB, free: 13.17 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1566, allocations: 4 kB / 0.687 GB, free: 13.17 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1566, allocations: 0 / 0.687 GB, free: 13.17 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1567, allocations: 1.875 kB / 0.687 GB, free: 13.17 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004866/0.1571, allocations: 349.9 kB / 0.6873 GB, free: 12.78 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1572, allocations: 8.031 kB / 0.6873 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.1572, allocations: 4.938 kB / 0.6873 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.1573, allocations: 168.4 kB / 0.6875 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.1574, allocations: 4.375 kB / 0.6875 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.1574, allocations: 4.312 kB / 0.6875 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.1575, allocations: 67.02 kB / 0.6876 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.1575, allocations: 0 / 0.6876 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1576, allocations: 1.594 kB / 0.6876 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1576, allocations: 4 kB / 0.6876 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.285e-05/0.1576, allocations: 27.98 kB / 0.6876 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/0.158, allocations: 277.5 kB / 0.6879 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.1582, allocations: 73.86 kB / 0.6879 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.378e-05/0.1583, allocations: 16.86 kB / 0.6879 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.1583, allocations: 0 / 0.6879 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.1584, allocations: 73.25 kB / 0.688 GB, free: 11.96 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1585, allocations: 0 / 0.688 GB, free: 11.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002287/0.1587, allocations: 89.61 kB / 0.6881 GB, free: 11.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.1587, allocations: 55.41 kB / 0.6882 GB, free: 11.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.745e-05/0.1588, allocations: 103.6 kB / 0.6883 GB, free: 11.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.1588, allocations: 25.7 kB / 0.6883 GB, free: 11.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.1589, allocations: 92.14 kB / 0.6884 GB, free: 11.56 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.1589, allocations: 15.66 kB / 0.6884 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.159, allocations: 26.52 kB / 0.6884 GB, free: 11.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1591, allocations: 315.5 kB / 0.6887 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.782e-05/0.1591, allocations: 15.98 kB / 0.6887 GB, free: 11.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.406e-05/0.1591, allocations: 25.47 kB / 0.6887 GB, free: 11.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.095e-05/0.1592, allocations: 36.84 kB / 0.6888 GB, free: 11.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.1592, allocations: 0 / 0.6888 GB, free: 11.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001177/0.1594, allocations: 74.28 kB / 0.6889 GB, free: 11.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1594, allocations: 5.875 kB / 0.6889 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1594, allocations: 0.625 kB / 0.6889 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1594, allocations: 0 / 0.6889 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.518e-05/0.1595, allocations: 15.98 kB / 0.6889 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.1595, allocations: 0 / 0.6889 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.876e-05/0.1596, allocations: 4 kB / 0.6889 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.1596, allocations: 4 kB / 0.6889 GB, free: 11.02 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: 3 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.119e-05/0.1597, allocations: 119.1 kB / 0.689 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.1597, allocations: 7.906 kB / 0.689 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.1599, allocations: 109.5 kB / 0.6891 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.1599, allocations: 4 kB / 0.6891 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1599, allocations: 0 / 0.6891 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.16, allocations: 0 / 0.6891 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.1601, allocations: 189.4 kB / 0.6893 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1601, allocations: 0 / 0.6893 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.418e-05/0.1602, allocations: 16.19 kB / 0.6893 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1602, allocations: 0 / 0.6893 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.1602, allocations: 0 / 0.6893 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1602, allocations: 0 / 0.6893 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.1602, allocations: 4.234 kB / 0.6893 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.1604, allocations: 128.9 kB / 0.6894 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.1605, allocations: 81.09 kB / 0.6895 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.1605, allocations: 4 kB / 0.6895 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.977e-05/0.1606, allocations: 8 kB / 0.6895 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.1606, allocations: 7.984 kB / 0.6895 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.1606, allocations: 4 kB / 0.6895 GB, free: 10.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.923e-05/0.1607, allocations: 83.28 kB / 0.6896 GB, free: 10.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1607, allocations: 4 kB / 0.6896 GB, free: 10.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001924/0.1609, allocations: 8 kB / 0.6896 GB, free: 10.15 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: 2 ($whenCondition1,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 9.897e-05/0.161, allocations: 111.2 kB / 0.6897 GB, free: 10.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.1611, allocations: 51.86 kB / 0.6898 GB, free: 9.984 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1611, allocations: 0 / 0.6898 GB, free: 9.984 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.365e-05/0.1612, allocations: 35.92 kB / 0.6898 GB, free: 9.949 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.1613, allocations: 384 / 0.6898 GB, free: 9.949 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.1617, allocations: 168.5 kB / 0.69 GB, free: 9.758 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.1619, allocations: 0.6848 MB / 0.6906 GB, free: 9.047 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.259e-05/0.162, allocations: 4 kB / 0.6906 GB, free: 9.043 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.162, allocations: 19.42 kB / 0.6907 GB, free: 9.023 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.162, allocations: 4 kB / 0.6907 GB, free: 9.02 MB / 494.1 MB Notification: Performance of Templates: time 0.002614/0.1646, allocations: 0.6233 MB / 0.6913 GB, free: 8.434 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)