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: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009603/0.0009604, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009462/0.0009462, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.216/1.216, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001827/0.001827, allocations: 286.7 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9139/0.9139, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 90.98 kB / 0.5948 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1526, allocations: 86.98 MB / 0.6797 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003283/0.1559, allocations: 1.506 MB / 0.6812 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.157, allocations: 496.5 kB / 0.6817 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.673e-05/0.157, allocations: 0 / 0.6817 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.289e-05/0.1571, allocations: 6.047 kB / 0.6817 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.1573, allocations: 19.92 kB / 0.6817 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000119/0.1574, allocations: 19.97 kB / 0.6817 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.83e-05/0.1576, allocations: 54.25 kB / 0.6818 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.868e-05/0.1577, allocations: 11.94 kB / 0.6818 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.1578, allocations: 27.91 kB / 0.6818 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.917e-05/0.1579, allocations: 27.84 kB / 0.6818 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.1579, allocations: 4 kB / 0.6819 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.542e-05/0.1579, allocations: 4.781 kB / 0.6819 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.1579, allocations: 7.938 kB / 0.6819 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.249e-05/0.158, allocations: 28.8 kB / 0.6819 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.766e-05/0.1581, allocations: 39.86 kB / 0.6819 GB, free: 14.7 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1581, allocations: 0.5312 kB / 0.6819 GB, free: 14.7 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1581, allocations: 4 kB / 0.6819 GB, free: 14.7 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.1582, allocations: 1.125 kB / 0.6819 GB, free: 14.7 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.0006068/0.1588, allocations: 348.3 kB / 0.6823 GB, free: 14.31 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1588, allocations: 16.03 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.049e-05/0.1589, allocations: 34.75 kB / 0.6823 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.1589, allocations: 4.938 kB / 0.6823 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.1591, allocations: 164.3 kB / 0.6825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.1591, allocations: 8.375 kB / 0.6825 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.1591, allocations: 384 / 0.6825 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.1593, allocations: 65.72 kB / 0.6825 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1593, allocations: 0 / 0.6825 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1593, allocations: 0 / 0.6825 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.1593, allocations: 4 kB / 0.6826 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.148e-05/0.1594, allocations: 27.98 kB / 0.6826 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.1598, allocations: 272.8 kB / 0.6828 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/0.1601, allocations: 66.61 kB / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.464e-05/0.1602, allocations: 24.84 kB / 0.6829 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.1602, allocations: 4 kB / 0.6829 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.1604, allocations: 67.39 kB / 0.683 GB, free: 13.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 3.667e-06/0.1604, allocations: 0 / 0.683 GB, free: 13.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003027/0.1607, allocations: 101.5 kB / 0.6831 GB, free: 13.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.1608, allocations: 55.41 kB / 0.6831 GB, free: 13.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.429e-05/0.1609, allocations: 97.86 kB / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.1609, allocations: 25.7 kB / 0.6833 GB, free: 13.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.1609, allocations: 96.03 kB / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.161, allocations: 15.75 kB / 0.6834 GB, free: 13.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.444e-05/0.1611, allocations: 29.7 kB / 0.6834 GB, free: 12.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1612, allocations: 314.8 kB / 0.6837 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.711e-05/0.1613, allocations: 16 kB / 0.6837 GB, free: 12.65 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.036e-05/0.1613, allocations: 19.97 kB / 0.6837 GB, free: 12.63 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.1614, allocations: 36.84 kB / 0.6838 GB, free: 12.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1614, allocations: 0 / 0.6838 GB, free: 12.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001831/0.1616, allocations: 73.88 kB / 0.6838 GB, free: 12.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1617, allocations: 12 kB / 0.6838 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.1617, allocations: 3.938 kB / 0.6839 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1617, allocations: 3.984 kB / 0.6839 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.659e-05/0.1618, allocations: 11.98 kB / 0.6839 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1618, allocations: 0 / 0.6839 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.578e-05/0.1619, allocations: 7.906 kB / 0.6839 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1619, allocations: 0 / 0.6839 GB, free: 12.48 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 9.275e-05/0.162, allocations: 122.4 kB / 0.684 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.1621, allocations: 4 kB / 0.684 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.1623, allocations: 105.6 kB / 0.6841 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1623, allocations: 0 / 0.6841 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1624, allocations: 0 / 0.6841 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1624, allocations: 4 kB / 0.6841 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.1625, allocations: 181.5 kB / 0.6843 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.1626, allocations: 3.984 kB / 0.6843 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.234e-05/0.1627, allocations: 11.94 kB / 0.6843 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1627, allocations: 0 / 0.6843 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.1627, allocations: 4 kB / 0.6843 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1627, allocations: 4 kB / 0.6843 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1627, allocations: 0 / 0.6843 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.163, allocations: 120.9 kB / 0.6844 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.163, allocations: 89 kB / 0.6845 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.1631, allocations: 0 / 0.6845 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.1632, allocations: 11.94 kB / 0.6845 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.1632, allocations: 4.234 kB / 0.6845 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.1633, allocations: 8 kB / 0.6845 GB, free: 11.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.254e-05/0.1633, allocations: 83.28 kB / 0.6846 GB, free: 11.63 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1633, allocations: 0 / 0.6846 GB, free: 11.63 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003518/0.1637, allocations: 12 kB / 0.6846 GB, free: 11.62 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.000547/0.1643, allocations: 0.6639 MB / 0.6853 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.1645, allocations: 51.92 kB / 0.6853 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1645, allocations: 0 / 0.6853 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.116e-05/0.1646, allocations: 35.92 kB / 0.6853 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.1648, allocations: 5.625 kB / 0.6853 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.1663, allocations: 1.239 MB / 0.6866 GB, free: 9.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.1666, allocations: 0.6846 MB / 0.6872 GB, free: 8.809 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.889e-05/0.1666, allocations: 8 kB / 0.6872 GB, free: 8.801 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.835e-05/0.1667, allocations: 19.42 kB / 0.6873 GB, free: 8.781 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1667, allocations: 0 / 0.6873 GB, free: 8.781 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01338/0.1801, allocations: 1.546 MB / 0.6888 GB, free: 7.445 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/0.1803, allocations: 244.7 kB / 0.689 GB, free: 7.191 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/1.877, allocations: 3.938 kB / 0.689 GB, free: 7.188 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)