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.007171/0.007171, allocations: 101.4 kB / 15.73 MB, free: 6.48 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.001117/0.001117, allocations: 196.1 kB / 16.67 MB, free: 6.379 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.294/1.294, 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.002062/0.002062, allocations: 287.1 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.9397/0.9397, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 103.8 kB / 0.6815 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1518, allocations: 86.97 MB / 0.7664 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002285/0.1541, allocations: 1.46 MB / 0.7678 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007573/0.1549, allocations: 0.4992 MB / 0.7683 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.362e-05/0.1549, allocations: 0 / 0.7683 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.7e-05/0.155, allocations: 0 / 0.7683 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.1552, allocations: 27.84 kB / 0.7683 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 9.384e-05/0.1553, allocations: 23.91 kB / 0.7683 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.852e-05/0.1553, allocations: 51.86 kB / 0.7684 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.979e-05/0.1554, allocations: 11.92 kB / 0.7684 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.372e-05/0.1555, allocations: 27.91 kB / 0.7684 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.144e-05/0.1556, allocations: 23.92 kB / 0.7685 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.1557, allocations: 4 kB / 0.7685 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.213e-05/0.1557, allocations: 4 kB / 0.7685 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.166e-05/0.1557, allocations: 15.97 kB / 0.7685 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.694e-05/0.1558, allocations: 19.88 kB / 0.7685 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.787e-05/0.1559, allocations: 43.81 kB / 0.7685 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1559, allocations: 0 / 0.7685 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.974e-06/0.1559, allocations: 0 / 0.7685 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.1559, allocations: 0 / 0.7685 GB, free: 6.219 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.000618/0.1565, allocations: 355.4 kB / 0.7689 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1566, allocations: 8.031 kB / 0.7689 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.1566, allocations: 12.84 kB / 0.7689 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.1567, allocations: 168.4 kB / 0.7691 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.1568, allocations: 4.375 kB / 0.7691 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.1568, allocations: 384 / 0.7691 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.1569, allocations: 57.98 kB / 0.7691 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1569, allocations: 3.984 kB / 0.7691 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.157, allocations: 8 kB / 0.7691 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.157, allocations: 0 / 0.7691 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.946e-05/0.157, allocations: 23.92 kB / 0.7692 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.1574, allocations: 272.8 kB / 0.7694 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.1576, allocations: 66.67 kB / 0.7695 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.555e-05/0.1577, allocations: 24.78 kB / 0.7695 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.1577, allocations: 0 / 0.7695 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/0.1579, allocations: 79.28 kB / 0.7696 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1579, allocations: 0 / 0.7696 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0002208/0.1581, allocations: 85.67 kB / 0.7697 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.1581, allocations: 55.41 kB / 0.7697 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.521e-05/0.1582, allocations: 105.8 kB / 0.7698 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.1582, allocations: 37.64 kB / 0.7698 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.1583, allocations: 80.14 kB / 0.7699 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.1583, allocations: 19.81 kB / 0.7699 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.1584, allocations: 33.64 kB / 0.77 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1585, allocations: 314.8 kB / 0.7703 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.697e-05/0.1585, allocations: 15.98 kB / 0.7703 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.135e-05/0.1585, allocations: 16.25 kB / 0.7703 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.747e-05/0.1586, allocations: 37 kB / 0.7703 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1586, allocations: 4 kB / 0.7703 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001159/0.1587, allocations: 73.58 kB / 0.7704 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.1588, allocations: 8 kB / 0.7704 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.1588, allocations: 0 / 0.7704 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.238e-06/0.1588, allocations: 7.938 kB / 0.7704 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.297e-05/0.1589, allocations: 11.98 kB / 0.7704 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1589, allocations: 0 / 0.7704 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.784e-05/0.1589, allocations: 4 kB / 0.7704 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.159, allocations: 3.984 kB / 0.7705 GB, free: 4.035 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 8.28e-05/0.1591, allocations: 118.4 kB / 0.7706 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.1591, allocations: 4 kB / 0.7706 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001853/0.1593, allocations: 105.5 kB / 0.7707 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1593, allocations: 8 kB / 0.7707 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1593, allocations: 0 / 0.7707 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1593, allocations: 0 / 0.7707 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.1594, allocations: 185.5 kB / 0.7709 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1594, allocations: 0 / 0.7709 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.047e-05/0.1595, allocations: 8 kB / 0.7709 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1595, allocations: 0 / 0.7709 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.1595, allocations: 8 kB / 0.7709 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1595, allocations: 0 / 0.7709 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1595, allocations: 3.938 kB / 0.7709 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.1597, allocations: 125.1 kB / 0.771 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.61e-05/0.1598, allocations: 85.02 kB / 0.7711 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.1598, allocations: 0 / 0.7711 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.64e-05/0.1599, allocations: 11.94 kB / 0.7711 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.1599, allocations: 7.984 kB / 0.7711 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.1599, allocations: 0 / 0.7711 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.223e-05/0.16, allocations: 91.44 kB / 0.7712 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.16, allocations: 0 / 0.7712 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001903/0.1602, allocations: 16 kB / 0.7712 GB, free: 3.172 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.817e-05/0.1603, allocations: 105.7 kB / 0.7713 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001393/0.1604, allocations: 55.86 kB / 0.7713 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1604, allocations: 0 / 0.7713 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.829e-05/0.1605, allocations: 27.98 kB / 0.7714 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.1606, allocations: 4 kB / 0.7714 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002921/0.1609, allocations: 153.6 kB / 0.7715 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.1612, allocations: 0.6846 MB / 0.7722 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.04e-05/0.1612, allocations: 11.73 kB / 0.7722 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.1613, allocations: 15.44 kB / 0.7722 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.1613, allocations: 0 / 0.7722 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of Templates: time 0.002493/0.1638, allocations: 0.689 MB / 0.7729 GB, free: 1.406 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)