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.001433/0.001434, allocations: 113.6 kB / 16.37 MB, free: 6.012 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.001609/0.001609, allocations: 188.9 kB / 17.3 MB, free: 5.613 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002189/0.002189, allocations: 298.7 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.934/0.934, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 98.92 kB / 0.5967 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1475, allocations: 86.98 MB / 0.6816 GB, free: 7.41 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002404/0.15, allocations: 1.465 MB / 0.683 GB, free: 5.934 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006576/0.1506, allocations: 474.8 kB / 0.6835 GB, free: 5.465 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.771e-05/0.1507, allocations: 4 kB / 0.6835 GB, free: 5.461 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.392e-05/0.1507, allocations: 3.938 kB / 0.6835 GB, free: 5.457 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.1509, allocations: 27.84 kB / 0.6835 GB, free: 5.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.276e-05/0.151, allocations: 15.92 kB / 0.6835 GB, free: 5.414 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.958e-05/0.1511, allocations: 55.78 kB / 0.6836 GB, free: 5.359 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.096e-05/0.1512, allocations: 7.938 kB / 0.6836 GB, free: 5.352 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.013e-05/0.1513, allocations: 23.92 kB / 0.6836 GB, free: 5.328 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.125e-05/0.1513, allocations: 31.91 kB / 0.6837 GB, free: 5.297 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.1514, allocations: 4 kB / 0.6837 GB, free: 5.293 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.181e-05/0.1514, allocations: 4 kB / 0.6837 GB, free: 5.289 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.1514, allocations: 7.984 kB / 0.6837 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.1515, allocations: 23.81 kB / 0.6837 GB, free: 5.258 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.601e-05/0.1515, allocations: 47.8 kB / 0.6837 GB, free: 5.211 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.1516, allocations: 0 / 0.6837 GB, free: 5.211 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1516, allocations: 0 / 0.6837 GB, free: 5.211 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.1516, allocations: 0 / 0.6837 GB, free: 5.211 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.0004688/0.152, allocations: 355.4 kB / 0.6841 GB, free: 4.816 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.1521, allocations: 8.031 kB / 0.6841 GB, free: 4.809 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.1521, allocations: 4.844 kB / 0.6841 GB, free: 4.805 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.1522, allocations: 172.4 kB / 0.6843 GB, free: 4.598 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1523, allocations: 4.375 kB / 0.6843 GB, free: 4.594 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.1523, allocations: 4.375 kB / 0.6843 GB, free: 4.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.854e-05/0.1524, allocations: 50 kB / 0.6843 GB, free: 4.535 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.1524, allocations: 0 / 0.6843 GB, free: 4.535 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.1524, allocations: 4 kB / 0.6843 GB, free: 4.531 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.1524, allocations: 3.984 kB / 0.6843 GB, free: 4.527 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.046e-05/0.1525, allocations: 27.92 kB / 0.6843 GB, free: 4.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003059/0.1528, allocations: 276.8 kB / 0.6846 GB, free: 4.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.844e-05/0.1529, allocations: 42.56 kB / 0.6847 GB, free: 4.129 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.2e-05/0.1529, allocations: 20.94 kB / 0.6847 GB, free: 4.105 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.643e-06/0.153, allocations: 3.938 kB / 0.6847 GB, free: 4.102 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/0.1531, allocations: 71.33 kB / 0.6847 GB, free: 4.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.1531, allocations: 0 / 0.6847 GB, free: 4.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.000188/0.1533, allocations: 77.69 kB / 0.6848 GB, free: 3.938 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.1533, allocations: 51.41 kB / 0.6849 GB, free: 3.875 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.875e-05/0.1534, allocations: 114.1 kB / 0.685 GB, free: 3.754 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.1534, allocations: 25.7 kB / 0.685 GB, free: 3.723 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.1535, allocations: 88.89 kB / 0.6851 GB, free: 3.633 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.1535, allocations: 11.81 kB / 0.6851 GB, free: 3.621 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.1535, allocations: 21.72 kB / 0.6851 GB, free: 3.594 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.093e-05/0.1536, allocations: 326.7 kB / 0.6854 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.123e-05/0.1537, allocations: 12 kB / 0.6854 GB, free: 3.254 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.549e-05/0.1537, allocations: 12 kB / 0.6855 GB, free: 3.242 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.19e-05/0.1538, allocations: 28.84 kB / 0.6855 GB, free: 3.211 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1538, allocations: 0 / 0.6855 GB, free: 3.211 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.829e-05/0.1539, allocations: 66.03 kB / 0.6855 GB, free: 3.141 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1539, allocations: 11.94 kB / 0.6856 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.1539, allocations: 0 / 0.6856 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1539, allocations: 4 kB / 0.6856 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.547e-05/0.154, allocations: 11.94 kB / 0.6856 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.154, allocations: 8.062 kB / 0.6856 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.071e-05/0.1541, allocations: 7.984 kB / 0.6856 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1541, allocations: 4 kB / 0.6856 GB, free: 3.094 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.04e-05/0.1542, allocations: 109.8 kB / 0.6857 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/0.1542, allocations: 4 kB / 0.6857 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.066e-05/0.1542, allocations: 7.969 kB / 0.6857 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1542, allocations: 8 kB / 0.6857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.1542, allocations: 0 / 0.6857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1542, allocations: 0 / 0.6857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.1543, allocations: 185.4 kB / 0.6859 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1544, allocations: 0 / 0.6859 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.738e-05/0.1544, allocations: 4 kB / 0.6859 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1544, allocations: 0 / 0.6859 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.1544, allocations: 4 kB / 0.6859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1544, allocations: 0 / 0.6859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1544, allocations: 3.938 kB / 0.6859 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.1546, allocations: 105 kB / 0.686 GB, free: 2.594 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.1546, allocations: 77.11 kB / 0.6861 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.1546, allocations: 4 kB / 0.6861 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.803e-05/0.1547, allocations: 3.984 kB / 0.6861 GB, free: 2.492 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.1547, allocations: 8 kB / 0.6861 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.1547, allocations: 0 / 0.6861 GB, free: 2.484 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.534e-05/0.1548, allocations: 91.27 kB / 0.6862 GB, free: 2.395 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1548, allocations: 0 / 0.6862 GB, free: 2.395 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00019/0.155, allocations: 15.91 kB / 0.6862 GB, free: 2.379 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 8.115e-05/0.1551, allocations: 99.25 kB / 0.6863 GB, free: 2.273 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.1552, allocations: 43.86 kB / 0.6863 GB, free: 2.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1552, allocations: 0 / 0.6863 GB, free: 2.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.274e-05/0.1552, allocations: 19.98 kB / 0.6863 GB, free: 2.211 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.1554, allocations: 9.312 kB / 0.6864 GB, free: 2.203 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.1557, allocations: 134.2 kB / 0.6865 GB, free: 2.047 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.1559, allocations: 0.6885 MB / 0.6872 GB, free: 1.332 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.299e-05/0.1559, allocations: 0 / 0.6872 GB, free: 1.332 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.1559, allocations: 11.44 kB / 0.6872 GB, free: 1.32 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1559, allocations: 0 / 0.6872 GB, free: 1.32 MB / 494.1 MB Notification: Performance of Templates: time 0.002318/0.1582, allocations: 0.5663 MB / 0.6877 GB, free: 0.7891 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)