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.00107/0.00107, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001269/0.001269, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.2 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001793/0.001793, allocations: 282.6 kB / 291.4 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.9822/0.9822, allocations: 169.5 MB / 0.5 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005342/0.0005347, allocations: 14.19 kB / 0.598 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1675, allocations: 88.55 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001438/0.1689, allocations: 1.155 MB / 0.6856 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006844/0.1696, allocations: 470.2 kB / 0.6861 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.031e-05/0.1697, allocations: 4 kB / 0.6861 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.341e-05/0.1697, allocations: 4.547 kB / 0.6861 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.1699, allocations: 18.23 kB / 0.6861 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.863e-05/0.17, allocations: 15.98 kB / 0.6861 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.695e-05/0.1701, allocations: 43.84 kB / 0.6862 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.823e-05/0.1702, allocations: 12.2 kB / 0.6862 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.627e-05/0.1703, allocations: 23.08 kB / 0.6862 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.1703, allocations: 23.91 kB / 0.6862 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.1704, allocations: 0 / 0.6862 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.313e-05/0.1704, allocations: 4 kB / 0.6862 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/0.1704, allocations: 7.922 kB / 0.6862 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.57e-05/0.1704, allocations: 33.7 kB / 0.6863 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.162e-05/0.1705, allocations: 27.88 kB / 0.6863 GB, free: 13.6 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1705, allocations: 4 kB / 0.6863 GB, free: 13.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1706, allocations: 1.312 kB / 0.6863 GB, free: 13.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1706, allocations: 0 / 0.6863 GB, free: 13.59 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.000519/0.1711, allocations: 346.8 kB / 0.6866 GB, free: 13.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.1711, allocations: 8.031 kB / 0.6866 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.1712, allocations: 4 kB / 0.6866 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.1713, allocations: 175 kB / 0.6868 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.1713, allocations: 4 kB / 0.6868 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.1713, allocations: 0 / 0.6868 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.1715, allocations: 58.11 kB / 0.6869 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.1715, allocations: 0.6875 kB / 0.6869 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1715, allocations: 0 / 0.6869 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1715, allocations: 4.656 kB / 0.6869 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.652e-05/0.1716, allocations: 23.98 kB / 0.6869 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.172, allocations: 282.5 kB / 0.6871 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.1722, allocations: 68 kB / 0.6872 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.303e-05/0.1722, allocations: 24.28 kB / 0.6872 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.1722, allocations: 0 / 0.6872 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.1724, allocations: 75.31 kB / 0.6873 GB, free: 12.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.1724, allocations: 0 / 0.6873 GB, free: 12.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002284/0.1726, allocations: 93.56 kB / 0.6874 GB, free: 12.29 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.1727, allocations: 51.41 kB / 0.6874 GB, free: 12.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.728e-05/0.1728, allocations: 110.3 kB / 0.6876 GB, free: 12.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.1728, allocations: 26.42 kB / 0.6876 GB, free: 12.08 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.1728, allocations: 84.64 kB / 0.6877 GB, free: 11.99 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.1729, allocations: 19.66 kB / 0.6877 GB, free: 11.97 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.1729, allocations: 1.906 kB / 0.6877 GB, free: 11.97 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.173, allocations: 318.8 kB / 0.688 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.205e-05/0.173, allocations: 12 kB / 0.688 GB, free: 11.64 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.114e-05/0.1731, allocations: 15.98 kB / 0.688 GB, free: 11.62 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.788e-05/0.1731, allocations: 20 kB / 0.688 GB, free: 11.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1731, allocations: 0 / 0.688 GB, free: 11.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001115/0.1732, allocations: 73.69 kB / 0.6881 GB, free: 11.53 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1733, allocations: 11.98 kB / 0.6881 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1733, allocations: 0 / 0.6881 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1733, allocations: 0 / 0.6881 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.851e-05/0.1734, allocations: 8 kB / 0.6881 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1734, allocations: 4.203 kB / 0.6881 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.557e-05/0.1734, allocations: 11.98 kB / 0.6881 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.1735, allocations: 4 kB / 0.6881 GB, free: 11.49 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 ($whenCondition1,$PRE.eqnTim.tNext,eqnTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.521e-05/0.1736, allocations: 118.5 kB / 0.6883 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.364e-05/0.1736, allocations: 7.906 kB / 0.6883 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.1738, allocations: 105.5 kB / 0.6884 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1738, allocations: 4 kB / 0.6884 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1738, allocations: 0 / 0.6884 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.1738, allocations: 3.953 kB / 0.6884 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.174, allocations: 181.6 kB / 0.6885 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.174, allocations: 4 kB / 0.6885 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.753e-05/0.174, allocations: 11.94 kB / 0.6886 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.174, allocations: 4 kB / 0.6886 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.174, allocations: 3.984 kB / 0.6886 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1741, allocations: 0 / 0.6886 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1741, allocations: 0 / 0.6886 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.1742, allocations: 120.9 kB / 0.6887 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.1743, allocations: 85.05 kB / 0.6888 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.1743, allocations: 0 / 0.6888 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.443e-05/0.1744, allocations: 15.98 kB / 0.6888 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.1744, allocations: 4 kB / 0.6888 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.1744, allocations: 0 / 0.6888 GB, free: 10.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.187e-05/0.1745, allocations: 87.27 kB / 0.6889 GB, free: 10.64 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1745, allocations: 0 / 0.6889 GB, free: 10.64 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001822/0.1747, allocations: 12 kB / 0.6889 GB, free: 10.63 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001067/0.1748, allocations: 107.2 kB / 0.689 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.1749, allocations: 56.14 kB / 0.689 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1749, allocations: 0 / 0.689 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.847e-05/0.175, allocations: 27.94 kB / 0.6891 GB, free: 10.44 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.1752, allocations: 7.938 kB / 0.6891 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003099/0.1755, allocations: 157 kB / 0.6892 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.1757, allocations: 0.6867 MB / 0.6899 GB, free: 9.539 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.183e-05/0.1758, allocations: 8.172 kB / 0.6899 GB, free: 9.531 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.565e-05/0.1758, allocations: 19.38 kB / 0.6899 GB, free: 9.512 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1758, allocations: 0 / 0.6899 GB, free: 9.512 MB / 494.1 MB Notification: Performance of Templates: time 0.00251/0.1784, allocations: 0.6139 MB / 0.6905 GB, free: 8.934 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)