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.004353/0.004353, allocations: 99.92 kB / 15.73 MB, free: 6.043 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.001091/0.001091, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001927/0.001927, allocations: 278.8 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9107/0.9107, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 91.86 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1656, allocations: 86.98 MB / 0.7664 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002186/0.1678, allocations: 1.46 MB / 0.7678 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007242/0.1685, allocations: 499.2 kB / 0.7683 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.602e-05/0.1686, allocations: 0 / 0.7683 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.583e-05/0.1686, allocations: 3.938 kB / 0.7683 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.1688, allocations: 31.84 kB / 0.7683 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 9.397e-05/0.1689, allocations: 27.95 kB / 0.7684 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.844e-05/0.169, allocations: 43.86 kB / 0.7684 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.679e-05/0.1691, allocations: 11.92 kB / 0.7684 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.621e-05/0.1692, allocations: 31.86 kB / 0.7684 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.442e-05/0.1693, allocations: 27.91 kB / 0.7685 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.1693, allocations: 4 kB / 0.7685 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.323e-05/0.1693, allocations: 4 kB / 0.7685 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.2e-05/0.1694, allocations: 11.98 kB / 0.7685 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.1694, allocations: 19.86 kB / 0.7685 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.044e-05/0.1695, allocations: 39.88 kB / 0.7685 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.1695, allocations: 0 / 0.7685 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1695, allocations: 0 / 0.7685 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.1695, allocations: 0 / 0.7685 GB, free: 6.238 MB / 0.5606 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.0005013/0.17, allocations: 355.4 kB / 0.7689 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1701, allocations: 16.03 kB / 0.7689 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.1701, allocations: 4.844 kB / 0.7689 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.1702, allocations: 164.4 kB / 0.7691 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.1702, allocations: 12.3 kB / 0.7691 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.1702, allocations: 4.375 kB / 0.7691 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.1704, allocations: 61.97 kB / 0.7691 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.1704, allocations: 0 / 0.7691 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1704, allocations: 0 / 0.7691 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.1704, allocations: 0 / 0.7691 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.034e-05/0.1705, allocations: 27.97 kB / 0.7692 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003122/0.1708, allocations: 272.8 kB / 0.7694 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.171, allocations: 66.61 kB / 0.7695 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.923e-05/0.1711, allocations: 24.84 kB / 0.7695 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.1711, allocations: 4 kB / 0.7695 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001305/0.1712, allocations: 71.3 kB / 0.7696 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1712, allocations: 0 / 0.7696 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0002192/0.1715, allocations: 101.6 kB / 0.7697 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.1715, allocations: 51.41 kB / 0.7697 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.97e-05/0.1716, allocations: 109.8 kB / 0.7698 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.1716, allocations: 25.7 kB / 0.7698 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.511e-05/0.1716, allocations: 84.12 kB / 0.7699 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.1717, allocations: 19.75 kB / 0.7699 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.1717, allocations: 25.7 kB / 0.77 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.913e-05/0.1718, allocations: 318.7 kB / 0.7703 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.78e-05/0.1718, allocations: 19.98 kB / 0.7703 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.815e-05/0.1719, allocations: 12 kB / 0.7703 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.563e-05/0.172, allocations: 48.84 kB / 0.7704 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.172, allocations: 0 / 0.7704 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001116/0.1721, allocations: 69.59 kB / 0.7704 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.1721, allocations: 4 kB / 0.7704 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1721, allocations: 4 kB / 0.7704 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.1721, allocations: 0 / 0.7704 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.186e-05/0.1722, allocations: 11.98 kB / 0.7704 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1722, allocations: 4 kB / 0.7704 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.033e-05/0.1723, allocations: 0 / 0.7704 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1723, allocations: 4 kB / 0.7704 GB, free: 4.055 MB / 0.5606 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 7.428e-05/0.1724, allocations: 118.4 kB / 0.7706 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.1724, allocations: 7.938 kB / 0.7706 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.1726, allocations: 109.5 kB / 0.7707 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1726, allocations: 0 / 0.7707 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1726, allocations: 0 / 0.7707 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.1726, allocations: 3.938 kB / 0.7707 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.1727, allocations: 185.5 kB / 0.7709 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1727, allocations: 0 / 0.7709 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.077e-05/0.1728, allocations: 12 kB / 0.7709 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-06/0.1728, allocations: 0 / 0.7709 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.1728, allocations: 0 / 0.7709 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1728, allocations: 0 / 0.7709 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1728, allocations: 0 / 0.7709 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.173, allocations: 129 kB / 0.771 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.362e-05/0.173, allocations: 85 kB / 0.7711 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.1731, allocations: 0 / 0.7711 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.581e-05/0.1731, allocations: 8.25 kB / 0.7711 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.1732, allocations: 7.984 kB / 0.7711 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.1732, allocations: 8 kB / 0.7711 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.191e-05/0.1732, allocations: 83.28 kB / 0.7712 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1732, allocations: 4 kB / 0.7712 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001949/0.1734, allocations: 8 kB / 0.7712 GB, free: 3.199 MB / 0.5606 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 9.47e-05/0.1735, allocations: 109.6 kB / 0.7713 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001301/0.1737, allocations: 59.78 kB / 0.7713 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1737, allocations: 0 / 0.7713 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.365e-05/0.1737, allocations: 35.92 kB / 0.7714 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.1739, allocations: 0 / 0.7714 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002853/0.1742, allocations: 157.6 kB / 0.7715 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.1744, allocations: 0.6807 MB / 0.7722 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.074e-05/0.1745, allocations: 11.73 kB / 0.7722 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.1745, allocations: 11.44 kB / 0.7722 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.1745, allocations: 0 / 0.7722 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of Templates: time 0.00245/0.177, allocations: 0.7148 MB / 0.7729 GB, free: 1.402 MB / 0.5606 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)