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.001877/0.001877, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002207/0.002207, allocations: 190.8 kB / 16.25 MB, free: 6.637 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.562/1.562, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002603/0.002603, allocations: 278.7 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.058/1.058, allocations: 178.6 MB / 0.5069 GB, free: 4.738 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00286/0.002861, allocations: 98.94 kB / 0.6059 GB, free: 25.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1556, allocations: 89.16 MB / 0.693 GB, free: 4.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.00284/0.1585, allocations: 1.502 MB / 0.6945 GB, free: 3.184 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009769/0.1595, allocations: 0.4952 MB / 0.6949 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.891e-05/0.1596, allocations: 7.938 kB / 0.6949 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.331e-05/0.1596, allocations: 0 / 0.6949 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.1599, allocations: 15.92 kB / 0.695 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001037/0.16, allocations: 27.95 kB / 0.695 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.562e-05/0.1601, allocations: 52.58 kB / 0.695 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.442e-05/0.1602, allocations: 8 kB / 0.695 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.238e-05/0.1603, allocations: 27.91 kB / 0.6951 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.279e-05/0.1603, allocations: 23.91 kB / 0.6951 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.1604, allocations: 4 kB / 0.6951 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.336e-05/0.1604, allocations: 4 kB / 0.6951 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.589e-05/0.1604, allocations: 11.94 kB / 0.6951 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.449e-05/0.1605, allocations: 19.91 kB / 0.6951 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.1606, allocations: 52.09 kB / 0.6952 GB, free: 2.438 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1606, allocations: 0 / 0.6952 GB, free: 2.438 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1606, allocations: 0 / 0.6952 GB, free: 2.438 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.1606, allocations: 4 kB / 0.6952 GB, free: 2.434 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.0006456/0.1613, allocations: 349.7 kB / 0.6955 GB, free: 2.047 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1613, allocations: 8.031 kB / 0.6955 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.1613, allocations: 4.938 kB / 0.6955 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.1615, allocations: 172.2 kB / 0.6957 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.1615, allocations: 8.375 kB / 0.6957 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.1616, allocations: 384 / 0.6957 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.1617, allocations: 69.91 kB / 0.6958 GB, free: 1.746 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1617, allocations: 0 / 0.6958 GB, free: 1.746 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1617, allocations: 0 / 0.6958 GB, free: 1.746 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1617, allocations: 4 kB / 0.6958 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.532e-05/0.1618, allocations: 27.97 kB / 0.6958 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.1622, allocations: 268.8 kB / 0.6961 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.1625, allocations: 70.61 kB / 0.6961 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.566e-05/0.1625, allocations: 20.86 kB / 0.6961 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.1625, allocations: 3.984 kB / 0.6962 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.1627, allocations: 67.39 kB / 0.6962 GB, free: 1.219 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1627, allocations: 0 / 0.6962 GB, free: 1.219 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002501/0.163, allocations: 93.52 kB / 0.6963 GB, free: 1.121 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.163, allocations: 63.39 kB / 0.6964 GB, free: 1.047 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.826e-05/0.1631, allocations: 97.86 kB / 0.6965 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.1632, allocations: 25.7 kB / 0.6965 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.1632, allocations: 88.08 kB / 0.6966 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.1632, allocations: 19.73 kB / 0.6966 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-05/0.1633, allocations: 21.72 kB / 0.6966 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1634, allocations: 326.8 kB / 0.6969 GB, free: 456 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.883e-05/0.1635, allocations: 15.94 kB / 0.6969 GB, free: 440 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.489e-05/0.1635, allocations: 19.98 kB / 0.697 GB, free: 420 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.685e-05/0.1636, allocations: 41.06 kB / 0.697 GB, free: 376 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1636, allocations: 0 / 0.697 GB, free: 376 kB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001358/0.1638, allocations: 77.52 kB / 0.6971 GB, free: 292 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1638, allocations: 8 kB / 0.6971 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1638, allocations: 0 / 0.6971 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1638, allocations: 0 / 0.6971 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.926e-05/0.1639, allocations: 11.98 kB / 0.6971 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.1639, allocations: 0 / 0.6971 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.153e-05/0.164, allocations: 4 kB / 0.6971 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.164, allocations: 8 kB / 0.6971 GB, free: 260 kB / 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 8.999e-05/0.1641, allocations: 113.8 kB / 0.6972 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.1641, allocations: 256 / 0.6972 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.1643, allocations: 105.6 kB / 0.6973 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1644, allocations: 0 / 0.6973 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.1644, allocations: 8 kB / 0.6973 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.1644, allocations: 3.984 kB / 0.6973 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.1646, allocations: 181.5 kB / 0.6975 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1646, allocations: 4 kB / 0.6975 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.916e-05/0.1647, allocations: 15.92 kB / 0.6975 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1647, allocations: 0 / 0.6975 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.1647, allocations: 4 kB / 0.6975 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1647, allocations: 0 / 0.6975 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1647, allocations: 0 / 0.6975 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.1649, allocations: 117.2 kB / 0.6976 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.393e-05/0.165, allocations: 92.94 kB / 0.6977 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.165, allocations: 11.98 kB / 0.6977 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.365e-05/0.1651, allocations: 4.188 kB / 0.6977 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.1651, allocations: 3.984 kB / 0.6977 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.1651, allocations: 7.938 kB / 0.6977 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.333e-05/0.1652, allocations: 83.28 kB / 0.6978 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1652, allocations: 3.938 kB / 0.6978 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000199/0.1654, allocations: 12 kB / 0.6978 GB, free: 15.39 MB / 0.4981 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.0001294/0.1655, allocations: 107.2 kB / 0.6979 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001581/0.1657, allocations: 59.84 kB / 0.698 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1657, allocations: 0 / 0.698 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.941e-05/0.1658, allocations: 31.92 kB / 0.698 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.166, allocations: 8.938 kB / 0.698 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.1663, allocations: 153.6 kB / 0.6982 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.1666, allocations: 0.6885 MB / 0.6989 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.761e-05/0.1667, allocations: 4 kB / 0.6989 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.1667, allocations: 11.42 kB / 0.6989 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1667, allocations: 4 kB / 0.6989 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of Templates: time 0.003068/0.1698, allocations: 0.6718 MB / 0.6995 GB, free: 13.64 MB / 0.4981 GB 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)