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.00148/0.00148, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00145/0.00145, allocations: 195.9 kB / 16.14 MB, free: 6.664 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.288/1.288, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002027/0.002027, allocations: 289.5 kB / 290.2 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9695/0.9695, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 91.69 kB / 0.5945 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1584, allocations: 86.99 MB / 0.6794 GB, free: 1.152 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002494/0.161, allocations: 1.536 MB / 0.6809 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006604/0.1616, allocations: 452.6 kB / 0.6814 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.481e-05/0.1617, allocations: 2.719 kB / 0.6814 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.27e-05/0.1617, allocations: 7.938 kB / 0.6814 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.1619, allocations: 19.91 kB / 0.6814 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.041e-05/0.162, allocations: 16 kB / 0.6814 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.898e-05/0.1621, allocations: 51.72 kB / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.687e-05/0.1622, allocations: 10.09 kB / 0.6815 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.706e-05/0.1623, allocations: 19.97 kB / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.785e-05/0.1624, allocations: 27.8 kB / 0.6815 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.1624, allocations: 4.719 kB / 0.6815 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/0.1624, allocations: 0 / 0.6815 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.1624, allocations: 8.859 kB / 0.6815 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.123e-05/0.1625, allocations: 19.81 kB / 0.6816 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.99e-05/0.1626, allocations: 48.42 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1626, allocations: 0 / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.1626, allocations: 1.406 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.1626, allocations: 0 / 0.6816 GB, free: 14.95 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.000511/0.1631, allocations: 352.1 kB / 0.6819 GB, free: 14.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.1631, allocations: 12.03 kB / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.432e-05/0.1632, allocations: 12.84 kB / 0.682 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.1633, allocations: 168.4 kB / 0.6821 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.1633, allocations: 384 / 0.6821 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.1633, allocations: 4.375 kB / 0.6821 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.1635, allocations: 53.98 kB / 0.6822 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1635, allocations: 0 / 0.6822 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-06/0.1635, allocations: 0 / 0.6822 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1635, allocations: 4 kB / 0.6822 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.106e-05/0.1636, allocations: 19.94 kB / 0.6822 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.164, allocations: 280.8 kB / 0.6825 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.1641, allocations: 42.56 kB / 0.6825 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.411e-05/0.1641, allocations: 24.92 kB / 0.6825 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.1641, allocations: 4 kB / 0.6825 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.1643, allocations: 71.33 kB / 0.6826 GB, free: 13.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.1643, allocations: 0 / 0.6826 GB, free: 13.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002079/0.1645, allocations: 77.67 kB / 0.6827 GB, free: 13.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.1646, allocations: 51.41 kB / 0.6827 GB, free: 13.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.299e-05/0.1646, allocations: 117.8 kB / 0.6828 GB, free: 13.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.1647, allocations: 25.7 kB / 0.6829 GB, free: 13.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.1647, allocations: 88.14 kB / 0.683 GB, free: 13.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.1647, allocations: 7.812 kB / 0.683 GB, free: 13.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.1648, allocations: 21.7 kB / 0.683 GB, free: 13.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1649, allocations: 322.8 kB / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.295e-05/0.1649, allocations: 15.94 kB / 0.6833 GB, free: 12.99 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.994e-05/0.165, allocations: 15.98 kB / 0.6833 GB, free: 12.97 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.633e-05/0.165, allocations: 28.8 kB / 0.6833 GB, free: 12.94 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.165, allocations: 0 / 0.6833 GB, free: 12.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001082/0.1652, allocations: 69.97 kB / 0.6834 GB, free: 12.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1652, allocations: 4 kB / 0.6834 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1652, allocations: 0 / 0.6834 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.1652, allocations: 4 kB / 0.6834 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.594e-05/0.1653, allocations: 16 kB / 0.6834 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1653, allocations: 3.938 kB / 0.6834 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.393e-05/0.1654, allocations: 7.984 kB / 0.6834 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.1654, allocations: 0 / 0.6834 GB, free: 12.83 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 8.186e-05/0.1655, allocations: 119.1 kB / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.1655, allocations: 0 / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.291e-05/0.1655, allocations: 11.97 kB / 0.6836 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1655, allocations: 0 / 0.6836 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1655, allocations: 0 / 0.6836 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1655, allocations: 7.984 kB / 0.6836 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.1657, allocations: 177.4 kB / 0.6837 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1657, allocations: 0 / 0.6837 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.894e-05/0.1657, allocations: 4 kB / 0.6838 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.1657, allocations: 4 kB / 0.6838 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1657, allocations: 3.984 kB / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1657, allocations: 0 / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1657, allocations: 0 / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.1659, allocations: 101 kB / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.1659, allocations: 85.02 kB / 0.6839 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.166, allocations: 3.984 kB / 0.6839 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.988e-05/0.166, allocations: 0 / 0.6839 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/0.1661, allocations: 4 kB / 0.6839 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.1661, allocations: 7.984 kB / 0.684 GB, free: 12.22 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.614e-05/0.1661, allocations: 87.59 kB / 0.684 GB, free: 12.13 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1661, allocations: 0 / 0.684 GB, free: 12.13 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001921/0.1663, allocations: 12 kB / 0.684 GB, free: 12.12 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 9.622e-05/0.1664, allocations: 99.25 kB / 0.6841 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.1665, allocations: 47.92 kB / 0.6842 GB, free: 11.97 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1666, allocations: 3.938 kB / 0.6842 GB, free: 11.96 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.722e-05/0.1666, allocations: 16.17 kB / 0.6842 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.1668, allocations: 9.484 kB / 0.6842 GB, free: 11.94 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.1671, allocations: 153.4 kB / 0.6844 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.1673, allocations: 0.6809 MB / 0.685 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.652e-05/0.1673, allocations: 4 kB / 0.685 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/0.1674, allocations: 7.438 kB / 0.685 GB, free: 11.05 MB / 494.1 MB Notification: Performance of SimCode: time 3e-07/0.1674, allocations: 0 / 0.685 GB, free: 11.05 MB / 494.1 MB Notification: Performance of Templates: time 0.002386/0.1698, allocations: 0.525 MB / 0.6856 GB, free: 10.56 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)