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.005035/0.005035, allocations: 103.4 kB / 15.73 MB, free: 6.051 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.001262/0.001262, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.307/1.307, allocations: 222.9 MB / 240.3 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002134, allocations: 279 kB / 290.8 MB, free: 1.758 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9501/0.9501, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 99.86 kB / 0.6815 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1565, allocations: 86.97 MB / 0.7664 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002844/0.1594, allocations: 1.482 MB / 0.7678 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007815/0.1602, allocations: 467.4 kB / 0.7683 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.069e-05/0.1603, allocations: 0 / 0.7683 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.1603, allocations: 3.938 kB / 0.7683 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.1606, allocations: 30.47 kB / 0.7683 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 7.183e-05/0.1607, allocations: 15.92 kB / 0.7683 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.322e-05/0.1608, allocations: 55.78 kB / 0.7684 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.309e-05/0.1609, allocations: 15.92 kB / 0.7684 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.481e-05/0.161, allocations: 19.94 kB / 0.7684 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.92e-05/0.1611, allocations: 27.84 kB / 0.7685 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.1611, allocations: 4 kB / 0.7685 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/0.1611, allocations: 4 kB / 0.7685 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.1611, allocations: 7.984 kB / 0.7685 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.284e-05/0.1612, allocations: 19.92 kB / 0.7685 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.1613, allocations: 43.83 kB / 0.7685 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1613, allocations: 4 kB / 0.7685 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1613, allocations: 0 / 0.7685 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.1613, allocations: 4 kB / 0.7685 GB, free: 6.215 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005876/0.1619, allocations: 351.3 kB / 0.7689 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.1619, allocations: 12.03 kB / 0.7689 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.162, allocations: 0.9375 kB / 0.7689 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.1622, allocations: 188.1 kB / 0.7691 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.1622, allocations: 4.375 kB / 0.7691 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.1622, allocations: 384 / 0.7691 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.1623, allocations: 57.94 kB / 0.7691 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1623, allocations: 4 kB / 0.7691 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.1624, allocations: 0 / 0.7691 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.1624, allocations: 0 / 0.7691 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.585e-05/0.1624, allocations: 19.98 kB / 0.7691 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.1628, allocations: 268.8 kB / 0.7694 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.163, allocations: 46.56 kB / 0.7694 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.253e-05/0.163, allocations: 20.86 kB / 0.7695 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.163, allocations: 4 kB / 0.7695 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.1632, allocations: 59.48 kB / 0.7695 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.1632, allocations: 0 / 0.7695 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.000225/0.1634, allocations: 93.52 kB / 0.7696 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.1635, allocations: 51.41 kB / 0.7697 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.524e-05/0.1636, allocations: 109.8 kB / 0.7698 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1636, allocations: 25.7 kB / 0.7698 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.1637, allocations: 88.14 kB / 0.7699 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.1637, allocations: 19.8 kB / 0.7699 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.1637, allocations: 13.72 kB / 0.7699 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1639, allocations: 322.8 kB / 0.7702 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.149e-05/0.1639, allocations: 12 kB / 0.7702 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.299e-05/0.1639, allocations: 8 kB / 0.7702 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.959e-05/0.164, allocations: 41.16 kB / 0.7703 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.164, allocations: 0 / 0.7703 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.814e-05/0.1641, allocations: 65.64 kB / 0.7703 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1641, allocations: 11.98 kB / 0.7703 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1641, allocations: 0 / 0.7703 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1642, allocations: 0 / 0.7703 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.103e-05/0.1642, allocations: 8 kB / 0.7704 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.1643, allocations: 4.312 kB / 0.7704 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.672e-05/0.1643, allocations: 0 / 0.7704 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.1643, allocations: 4 kB / 0.7704 GB, free: 4.113 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 (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.997e-05/0.1644, allocations: 126.3 kB / 0.7705 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.1644, allocations: 11.91 kB / 0.7705 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.952e-05/0.1645, allocations: 3.969 kB / 0.7705 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1645, allocations: 0 / 0.7705 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1645, allocations: 0 / 0.7705 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.1645, allocations: 7.938 kB / 0.7705 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.1646, allocations: 177.6 kB / 0.7707 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1646, allocations: 0 / 0.7707 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.75e-05/0.1646, allocations: 4 kB / 0.7707 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1647, allocations: 0 / 0.7707 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.1647, allocations: 7.938 kB / 0.7707 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1647, allocations: 4 kB / 0.7707 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1647, allocations: 4 kB / 0.7707 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.1648, allocations: 96.95 kB / 0.7708 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.1649, allocations: 77.11 kB / 0.7709 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.1649, allocations: 4 kB / 0.7709 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.541e-05/0.165, allocations: 4 kB / 0.7709 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.165, allocations: 7.984 kB / 0.7709 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.165, allocations: 128 / 0.7709 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.398e-05/0.1651, allocations: 99.25 kB / 0.771 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1651, allocations: 3.938 kB / 0.771 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001854/0.1653, allocations: 8 kB / 0.771 GB, free: 3.383 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,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.000126/0.1654, allocations: 103.2 kB / 0.7711 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.1655, allocations: 39.92 kB / 0.7711 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1655, allocations: 0 / 0.7711 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.211e-05/0.1656, allocations: 23.94 kB / 0.7711 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.1658, allocations: 5.156 kB / 0.7711 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.1662, allocations: 138.1 kB / 0.7713 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.1664, allocations: 0.6807 MB / 0.7719 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.085e-05/0.1665, allocations: 7.984 kB / 0.772 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.1665, allocations: 11.44 kB / 0.772 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.1665, allocations: 0 / 0.772 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of Templates: time 0.002846/0.1694, allocations: 0.5737 MB / 0.7725 GB, free: 1.781 MB / 0.5606 GB 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)