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.001174/0.001174, 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.001177/0.001177, allocations: 193 kB / 16.13 MB, free: 6.715 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.324/1.324, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002087/0.002087, allocations: 282.8 kB / 290.2 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9349/0.9349, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 93.8 kB / 0.5945 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1436, allocations: 86.98 MB / 0.6795 GB, free: 1.203 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002905/0.1465, allocations: 1.507 MB / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007796/0.1473, allocations: 0.4937 MB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.479e-05/0.1474, allocations: 4 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.614e-05/0.1474, allocations: 2.281 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.1476, allocations: 11.94 kB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001017/0.1477, allocations: 31.89 kB / 0.6815 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.274e-05/0.1478, allocations: 47.86 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.249e-05/0.1479, allocations: 5 kB / 0.6815 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.847e-05/0.148, allocations: 25.69 kB / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.113e-05/0.1481, allocations: 23.91 kB / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.1481, allocations: 4 kB / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.192e-05/0.1481, allocations: 0 / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.1481, allocations: 12.81 kB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.1482, allocations: 19.91 kB / 0.6816 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.05e-05/0.1482, allocations: 44.41 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1483, allocations: 0 / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1483, allocations: 1.219 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.635e-06/0.1483, allocations: 0 / 0.6816 GB, free: 14.98 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.0005149/0.1488, allocations: 356.8 kB / 0.682 GB, free: 14.58 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.1488, allocations: 12.03 kB / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.1489, allocations: 4.938 kB / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.149, allocations: 164.3 kB / 0.6821 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.149, allocations: 8.375 kB / 0.6821 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.149, allocations: 384 / 0.6821 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.1491, allocations: 61.97 kB / 0.6822 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.1492, allocations: 0 / 0.6822 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.1492, allocations: 0 / 0.6822 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1492, allocations: 4 kB / 0.6822 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.875e-05/0.1493, allocations: 27.97 kB / 0.6822 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.1496, allocations: 276.8 kB / 0.6825 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.1498, allocations: 70.61 kB / 0.6826 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.349e-05/0.1499, allocations: 20.86 kB / 0.6826 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.1499, allocations: 0 / 0.6826 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.1501, allocations: 75.38 kB / 0.6827 GB, free: 13.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 2.585e-06/0.1501, allocations: 3.984 kB / 0.6827 GB, free: 13.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002176/0.1503, allocations: 89.61 kB / 0.6828 GB, free: 13.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.1503, allocations: 59.39 kB / 0.6828 GB, free: 13.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.491e-05/0.1504, allocations: 97.86 kB / 0.6829 GB, free: 13.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.1504, allocations: 25.7 kB / 0.6829 GB, free: 13.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.1505, allocations: 95.98 kB / 0.683 GB, free: 13.35 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.1505, allocations: 19.73 kB / 0.683 GB, free: 13.33 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.1505, allocations: 29.66 kB / 0.6831 GB, free: 13.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1507, allocations: 318.8 kB / 0.6834 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.816e-05/0.1507, allocations: 16 kB / 0.6834 GB, free: 12.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.21e-05/0.1507, allocations: 15.98 kB / 0.6834 GB, free: 12.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.872e-05/0.1508, allocations: 36.88 kB / 0.6834 GB, free: 12.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1508, allocations: 0 / 0.6834 GB, free: 12.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001219/0.1509, allocations: 73.66 kB / 0.6835 GB, free: 12.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.151, allocations: 8 kB / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.151, allocations: 4 kB / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/0.151, allocations: 0 / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.624e-05/0.1511, allocations: 11.98 kB / 0.6835 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1511, allocations: 0 / 0.6835 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.208e-05/0.1512, allocations: 7.906 kB / 0.6835 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.1512, allocations: 4 kB / 0.6835 GB, free: 12.79 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 8.104e-05/0.1513, allocations: 119 kB / 0.6837 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.1513, allocations: 0 / 0.6837 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001879/0.1515, allocations: 105.6 kB / 0.6838 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1515, allocations: 3.938 kB / 0.6838 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1515, allocations: 0 / 0.6838 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1515, allocations: 7.984 kB / 0.6838 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.1516, allocations: 181.5 kB / 0.6839 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1516, allocations: 0 / 0.6839 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.485e-05/0.1517, allocations: 11.98 kB / 0.6839 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1517, allocations: 0 / 0.6839 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1517, allocations: 4 kB / 0.684 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1517, allocations: 256 / 0.684 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1518, allocations: 0 / 0.684 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.1519, allocations: 128.9 kB / 0.6841 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.612e-05/0.152, allocations: 81.3 kB / 0.6842 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.152, allocations: 4 kB / 0.6842 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-05/0.1521, allocations: 7.922 kB / 0.6842 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.1521, allocations: 7.984 kB / 0.6842 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.1521, allocations: 4 kB / 0.6842 GB, free: 12.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.123e-05/0.1522, allocations: 83.28 kB / 0.6843 GB, free: 11.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1522, allocations: 7.938 kB / 0.6843 GB, free: 11.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001887/0.1524, allocations: 15.91 kB / 0.6843 GB, free: 11.93 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 0.0001209/0.1525, allocations: 103.2 kB / 0.6844 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001225/0.1526, allocations: 51.86 kB / 0.6844 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1527, allocations: 4 kB / 0.6844 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.246e-05/0.1527, allocations: 35.91 kB / 0.6845 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.1529, allocations: 4 kB / 0.6845 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003068/0.1532, allocations: 159.3 kB / 0.6846 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.1534, allocations: 0.6809 MB / 0.6853 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.403e-05/0.1535, allocations: 4.328 kB / 0.6853 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.1535, allocations: 19.42 kB / 0.6853 GB, free: 10.82 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1535, allocations: 0 / 0.6853 GB, free: 10.82 MB / 494.1 MB Notification: Performance of Templates: time 0.002396/0.1559, allocations: 0.643 MB / 0.6859 GB, free: 10.21 MB / 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)