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.001502/0.001502, allocations: 117.8 kB / 16.37 MB, free: 6.016 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.001705/0.001705, allocations: 189.7 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002124/0.002124, allocations: 283.6 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9246/0.9246, allocations: 169.2 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 91.03 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1414, allocations: 86.98 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002298/0.1437, allocations: 1.446 MB / 0.683 GB, free: 6 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007222/0.1444, allocations: 0.4955 MB / 0.6835 GB, free: 5.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.126e-05/0.1445, allocations: 0 / 0.6835 GB, free: 5.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.79e-05/0.1445, allocations: 3.984 kB / 0.6835 GB, free: 5.496 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.1447, allocations: 27.8 kB / 0.6835 GB, free: 5.469 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.562e-05/0.1448, allocations: 31.91 kB / 0.6836 GB, free: 5.438 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.651e-05/0.1449, allocations: 55.77 kB / 0.6836 GB, free: 5.383 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.919e-05/0.145, allocations: 8 kB / 0.6836 GB, free: 5.375 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.657e-05/0.1451, allocations: 19.92 kB / 0.6836 GB, free: 5.355 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.787e-05/0.1451, allocations: 27.91 kB / 0.6837 GB, free: 5.328 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.1452, allocations: 4 kB / 0.6837 GB, free: 5.324 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.222e-05/0.1452, allocations: 4 kB / 0.6837 GB, free: 5.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.1452, allocations: 11.98 kB / 0.6837 GB, free: 5.309 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.1452, allocations: 19.92 kB / 0.6837 GB, free: 5.289 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.45e-05/0.1453, allocations: 51.69 kB / 0.6838 GB, free: 5.238 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1453, allocations: 0 / 0.6838 GB, free: 5.238 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1454, allocations: 0 / 0.6838 GB, free: 5.238 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.1454, allocations: 0 / 0.6838 GB, free: 5.238 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000511/0.1459, allocations: 351.4 kB / 0.6841 GB, free: 4.848 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.1459, allocations: 16.03 kB / 0.6841 GB, free: 4.832 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.1459, allocations: 0.9375 kB / 0.6841 GB, free: 4.832 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.1461, allocations: 172.4 kB / 0.6843 GB, free: 4.625 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.1461, allocations: 384 / 0.6843 GB, free: 4.625 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.1461, allocations: 4.375 kB / 0.6843 GB, free: 4.621 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.1462, allocations: 61.97 kB / 0.6843 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.1462, allocations: 0 / 0.6843 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1463, allocations: 3.938 kB / 0.6843 GB, free: 4.551 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1463, allocations: 0 / 0.6843 GB, free: 4.551 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.602e-05/0.1463, allocations: 27.92 kB / 0.6844 GB, free: 4.523 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.1467, allocations: 284.7 kB / 0.6846 GB, free: 4.195 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.1469, allocations: 58.69 kB / 0.6847 GB, free: 4.129 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.573e-05/0.1469, allocations: 24.84 kB / 0.6847 GB, free: 4.102 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.1469, allocations: 7.938 kB / 0.6847 GB, free: 4.094 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.1471, allocations: 75.38 kB / 0.6848 GB, free: 4.008 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1471, allocations: 0 / 0.6848 GB, free: 4.008 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002148/0.1473, allocations: 89.67 kB / 0.6849 GB, free: 3.914 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.1474, allocations: 51.41 kB / 0.6849 GB, free: 3.852 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.7e-05/0.1474, allocations: 105.8 kB / 0.685 GB, free: 3.738 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.1475, allocations: 29.64 kB / 0.6851 GB, free: 3.703 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/0.1475, allocations: 88.05 kB / 0.6851 GB, free: 3.613 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.1475, allocations: 15.75 kB / 0.6852 GB, free: 3.598 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.663e-05/0.1476, allocations: 25.7 kB / 0.6852 GB, free: 3.566 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1477, allocations: 318.8 kB / 0.6855 GB, free: 3.246 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.797e-05/0.1477, allocations: 15.98 kB / 0.6855 GB, free: 3.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.178e-05/0.1478, allocations: 12 kB / 0.6855 GB, free: 3.219 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.761e-05/0.1478, allocations: 40.78 kB / 0.6856 GB, free: 3.176 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1479, allocations: 4 kB / 0.6856 GB, free: 3.172 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001236/0.148, allocations: 65.69 kB / 0.6856 GB, free: 3.102 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.148, allocations: 4 kB / 0.6856 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.148, allocations: 7.984 kB / 0.6856 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.148, allocations: 0 / 0.6856 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.628e-05/0.1481, allocations: 11.94 kB / 0.6856 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1481, allocations: 4 kB / 0.6856 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.14e-05/0.1482, allocations: 7.984 kB / 0.6857 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.1482, allocations: 4 kB / 0.6857 GB, free: 3.062 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 (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 7.457e-05/0.1483, allocations: 113.8 kB / 0.6858 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.1483, allocations: 7.906 kB / 0.6858 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/0.1485, allocations: 105.6 kB / 0.6859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1485, allocations: 192 / 0.6859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.1485, allocations: 0 / 0.6859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1486, allocations: 3.984 kB / 0.6859 GB, free: 2.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.1487, allocations: 189.6 kB / 0.6861 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1487, allocations: 3.938 kB / 0.6861 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.417e-05/0.1488, allocations: 12 kB / 0.6861 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1488, allocations: 0 / 0.6861 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1488, allocations: 3.984 kB / 0.6861 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1488, allocations: 0 / 0.6861 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1488, allocations: 0 / 0.6861 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.149, allocations: 128.9 kB / 0.6862 GB, free: 2.422 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.172e-05/0.149, allocations: 81.11 kB / 0.6863 GB, free: 2.324 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.149, allocations: 0 / 0.6863 GB, free: 2.324 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.138e-05/0.1491, allocations: 4.25 kB / 0.6863 GB, free: 2.32 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.1492, allocations: 11.92 kB / 0.6863 GB, free: 2.309 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.1492, allocations: 8.188 kB / 0.6863 GB, free: 2.301 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.874e-05/0.1492, allocations: 87.27 kB / 0.6864 GB, free: 2.215 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1492, allocations: 7.938 kB / 0.6864 GB, free: 2.207 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001944/0.1494, allocations: 12 kB / 0.6864 GB, free: 2.195 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,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.417e-05/0.1495, allocations: 99.25 kB / 0.6865 GB, free: 2.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.1497, allocations: 55.84 kB / 0.6866 GB, free: 2.035 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.1497, allocations: 0 / 0.6866 GB, free: 2.035 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.934e-05/0.1497, allocations: 28 kB / 0.6866 GB, free: 2.008 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.1499, allocations: 4 kB / 0.6866 GB, free: 2.004 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.1502, allocations: 157.4 kB / 0.6867 GB, free: 1.824 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.1504, allocations: 0.6846 MB / 0.6874 GB, free: 1.113 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.619e-05/0.1505, allocations: 4 kB / 0.6874 GB, free: 1.109 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.1505, allocations: 11.44 kB / 0.6874 GB, free: 1.098 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1505, allocations: 0 / 0.6874 GB, free: 1.098 MB / 494.1 MB Notification: Performance of Templates: time 0.002541/0.1531, allocations: 0.683 MB / 0.6881 GB, free: 460 kB / 494.1 MB 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)