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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 109.8 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 187.5 kB / 22.85 MB, free: 5.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 225.6 MB / 251.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002385/0.002385, allocations: 288 kB / 307 MB, free: 8.348 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.157/1.157, allocations: 180.8 MB / 0.5304 GB, free: 14.55 MB / 382.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002733/0.002733, allocations: 100.8 kB / 0.7311 GB, free: 38.88 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1705, allocations: 94.21 MB / 0.8231 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002858/0.1734, allocations: 1.462 MB / 0.8245 GB, free: 284 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009029/0.1743, allocations: 0.5118 MB / 0.825 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.928e-05/0.1743, allocations: 4 kB / 0.825 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.769e-05/0.1743, allocations: 7.938 kB / 0.825 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.1746, allocations: 11.88 kB / 0.825 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001051/0.1747, allocations: 27.95 kB / 0.8251 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.764e-05/0.1748, allocations: 47.84 kB / 0.8251 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.756e-05/0.1748, allocations: 11.94 kB / 0.8251 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.907e-05/0.1749, allocations: 31.84 kB / 0.8251 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.447e-05/0.175, allocations: 23.86 kB / 0.8252 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.175, allocations: 4 kB / 0.8252 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.1751, allocations: 8 kB / 0.8252 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.737e-05/0.1751, allocations: 15.97 kB / 0.8252 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.1751, allocations: 19.92 kB / 0.8252 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 8.951e-05/0.1752, allocations: 31.89 kB / 0.8252 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1752, allocations: 7.938 kB / 0.8252 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1752, allocations: 0 / 0.8252 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.1752, allocations: 0 / 0.8252 GB, free: 15.51 MB / 0.5762 GB 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.0005691/0.1758, allocations: 282.3 kB / 0.8255 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.1758, allocations: 8.625 kB / 0.8255 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.1759, allocations: 4.891 kB / 0.8255 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.176, allocations: 118.5 kB / 0.8256 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.176, allocations: 4.375 kB / 0.8256 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.176, allocations: 12.3 kB / 0.8257 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.1762, allocations: 57.97 kB / 0.8257 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1762, allocations: 0 / 0.8257 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.1762, allocations: 8 kB / 0.8257 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1762, allocations: 0 / 0.8257 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.791e-05/0.1763, allocations: 23.98 kB / 0.8257 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.1766, allocations: 243.9 kB / 0.826 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.1768, allocations: 62.61 kB / 0.826 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.162e-05/0.1769, allocations: 20.84 kB / 0.8261 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.1769, allocations: 4 kB / 0.8261 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.177, allocations: 75.33 kB / 0.8261 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.177, allocations: 0 / 0.8261 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0002272/0.1773, allocations: 93.61 kB / 0.8262 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.1773, allocations: 51.41 kB / 0.8263 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.36e-05/0.1774, allocations: 105.8 kB / 0.8264 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.1774, allocations: 25.7 kB / 0.8264 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.09e-05/0.1774, allocations: 84.14 kB / 0.8265 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.1775, allocations: 19.94 kB / 0.8265 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.1775, allocations: 25.69 kB / 0.8265 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1776, allocations: 318.8 kB / 0.8268 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.532e-05/0.1777, allocations: 15.98 kB / 0.8268 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.005e-05/0.1777, allocations: 12 kB / 0.8269 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.656e-05/0.1778, allocations: 36.84 kB / 0.8269 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1778, allocations: 4.25 kB / 0.8269 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001109/0.1779, allocations: 73.62 kB / 0.827 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.1779, allocations: 8 kB / 0.827 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1779, allocations: 4 kB / 0.827 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.1779, allocations: 3.938 kB / 0.827 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.719e-05/0.178, allocations: 15.92 kB / 0.827 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.178, allocations: 4 kB / 0.827 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.262e-05/0.1781, allocations: 3.938 kB / 0.827 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.1781, allocations: 7.984 kB / 0.827 GB, free: 13.52 MB / 0.5762 GB 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 8.177e-05/0.1782, allocations: 114.4 kB / 0.8271 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.1782, allocations: 7.953 kB / 0.8271 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/0.1784, allocations: 109.7 kB / 0.8272 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1784, allocations: 0 / 0.8272 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.1784, allocations: 0 / 0.8272 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1784, allocations: 0 / 0.8272 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.1785, allocations: 156.6 kB / 0.8274 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1785, allocations: 4 kB / 0.8274 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-05/0.1786, allocations: 8 kB / 0.8274 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1786, allocations: 0 / 0.8274 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.1786, allocations: 4 kB / 0.8274 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1786, allocations: 0 / 0.8274 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1786, allocations: 8 kB / 0.8274 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.1788, allocations: 120.9 kB / 0.8275 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.333e-05/0.1788, allocations: 7.984 kB / 0.8275 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.1788, allocations: 0 / 0.8275 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.61e-05/0.1789, allocations: 8 kB / 0.8275 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.1789, allocations: 4.172 kB / 0.8275 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.1789, allocations: 4 kB / 0.8275 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.569e-05/0.179, allocations: 95.25 kB / 0.8276 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.179, allocations: 0 / 0.8276 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001809/0.1791, allocations: 11.95 kB / 0.8276 GB, free: 12.79 MB / 0.5762 GB 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 0.0001082/0.1792, allocations: 107.2 kB / 0.8277 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001468/0.1794, allocations: 51.98 kB / 0.8278 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1794, allocations: 0 / 0.8278 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.092e-05/0.1795, allocations: 31.92 kB / 0.8278 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.1796, allocations: 7.844 kB / 0.8278 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/0.1799, allocations: 153.5 kB / 0.828 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.1802, allocations: 0.6885 MB / 0.8287 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.734e-05/0.1802, allocations: 7.75 kB / 0.8287 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.1803, allocations: 11.44 kB / 0.8287 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.1803, allocations: 4 kB / 0.8287 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of Templates: time 0.002839/0.1831, allocations: 0.7361 MB / 0.8294 GB, free: 10.98 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 660] (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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6422053829955985] Failed to read output from testmodel.py, exit status != 0: 0.1900987859989982 0.20345111100000002 0.025388039 Calling exit ...