Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.008733/0.008734, allocations: 171.2 kB / 16.27 MB, free: 6.648 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.394/1.394, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001748/0.001748, allocations: 282.3 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9357/0.9357, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.0004852, allocations: 14.06 kB / 0.5987 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.16, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001518/0.1616, allocations: 1.206 MB / 0.6863 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000687/0.1623, allocations: 452.1 kB / 0.6867 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.647e-05/0.1624, allocations: 0.5938 kB / 0.6867 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.1624, allocations: 0 / 0.6867 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.1626, allocations: 29.28 kB / 0.6868 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.007e-05/0.1627, allocations: 15.98 kB / 0.6868 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.786e-05/0.1628, allocations: 53.73 kB / 0.6868 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.522e-05/0.1629, allocations: 4.266 kB / 0.6868 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.616e-05/0.163, allocations: 23.92 kB / 0.6869 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.438e-05/0.163, allocations: 28.72 kB / 0.6869 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.1631, allocations: 0 / 0.6869 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.1631, allocations: 4 kB / 0.6869 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.1631, allocations: 3.438 kB / 0.6869 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.269e-05/0.1632, allocations: 45.62 kB / 0.6869 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.837e-05/0.1632, allocations: 47.73 kB / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1633, allocations: 4 kB / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1633, allocations: 0 / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.1633, allocations: 0 / 0.687 GB, free: 13.16 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005081/0.1638, allocations: 340 kB / 0.6873 GB, free: 12.78 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.1638, allocations: 8.656 kB / 0.6873 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.1639, allocations: 4.938 kB / 0.6873 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.164, allocations: 176.8 kB / 0.6875 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.164, allocations: 1.094 kB / 0.6875 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.164, allocations: 4.375 kB / 0.6875 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.1642, allocations: 55.75 kB / 0.6876 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.1642, allocations: 0 / 0.6876 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1642, allocations: 0 / 0.6876 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.1642, allocations: 4 kB / 0.6876 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.956e-05/0.1643, allocations: 19.98 kB / 0.6876 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.1646, allocations: 270.8 kB / 0.6878 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.503e-05/0.1647, allocations: 51.06 kB / 0.6879 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.958e-05/0.1648, allocations: 18.58 kB / 0.6879 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-06/0.1648, allocations: 4 kB / 0.6879 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/0.1649, allocations: 65.92 kB / 0.688 GB, free: 12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.1649, allocations: 0 / 0.688 GB, free: 12 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001938/0.1651, allocations: 85.52 kB / 0.688 GB, free: 11.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.1652, allocations: 51.41 kB / 0.6881 GB, free: 11.85 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.252e-05/0.1653, allocations: 113.8 kB / 0.6882 GB, free: 11.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.1653, allocations: 26.36 kB / 0.6882 GB, free: 11.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.1654, allocations: 84.14 kB / 0.6883 GB, free: 11.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.1654, allocations: 21.56 kB / 0.6883 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.1654, allocations: 17.66 kB / 0.6883 GB, free: 11.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.604e-05/0.1655, allocations: 318.8 kB / 0.6887 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.219e-05/0.1656, allocations: 18.86 kB / 0.6887 GB, free: 11.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.312e-05/0.1656, allocations: 8 kB / 0.6887 GB, free: 11.22 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.678e-05/0.1656, allocations: 32.86 kB / 0.6887 GB, free: 11.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.1657, allocations: 3.938 kB / 0.6887 GB, free: 11.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.739e-05/0.1658, allocations: 61.62 kB / 0.6888 GB, free: 11.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1658, allocations: 4 kB / 0.6888 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1658, allocations: 448 / 0.6888 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1658, allocations: 4.781 kB / 0.6888 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.079e-05/0.1659, allocations: 11.98 kB / 0.6888 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1659, allocations: 0 / 0.6888 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.41e-05/0.166, allocations: 16.77 kB / 0.6888 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.166, allocations: 4.625 kB / 0.6888 GB, free: 11.08 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 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.461e-05/0.1661, allocations: 115.6 kB / 0.6889 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.1661, allocations: 9.047 kB / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.976e-05/0.1661, allocations: 3.969 kB / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1661, allocations: 1 kB / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1661, allocations: 4 kB / 0.6889 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.1661, allocations: 0 / 0.6889 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.1663, allocations: 177.5 kB / 0.6891 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1663, allocations: 0 / 0.6891 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.068e-05/0.1663, allocations: 11.92 kB / 0.6891 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1663, allocations: 0 / 0.6891 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.1663, allocations: 4 kB / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1663, allocations: 4 kB / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1663, allocations: 0 / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.1665, allocations: 92.97 kB / 0.6892 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.1665, allocations: 85.09 kB / 0.6893 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.1665, allocations: 8 kB / 0.6893 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.43e-05/0.1666, allocations: 0 / 0.6893 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.1666, allocations: 7.984 kB / 0.6893 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.1667, allocations: 0 / 0.6893 GB, free: 10.47 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.73e-05/0.1667, allocations: 87.28 kB / 0.6894 GB, free: 10.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1667, allocations: 0 / 0.6894 GB, free: 10.39 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000186/0.1669, allocations: 15.98 kB / 0.6894 GB, free: 10.37 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,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0001009/0.167, allocations: 107.2 kB / 0.6895 GB, free: 10.26 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.1671, allocations: 35.92 kB / 0.6895 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1671, allocations: 0 / 0.6895 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.902e-05/0.1672, allocations: 16 kB / 0.6896 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.1673, allocations: 8 kB / 0.6896 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002799/0.1676, allocations: 162.4 kB / 0.6897 GB, free: 10.01 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.1679, allocations: 0.6848 MB / 0.6904 GB, free: 9.301 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.511e-05/0.1679, allocations: 7.984 kB / 0.6904 GB, free: 9.293 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.1679, allocations: 7.438 kB / 0.6904 GB, free: 9.285 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1679, allocations: 0 / 0.6904 GB, free: 9.285 MB / 494.1 MB Notification: Performance of Templates: time 0.002323/0.1703, allocations: 0.5069 MB / 0.6909 GB, free: 8.816 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)