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.001255/0.001255, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00209/0.002089, allocations: 282.2 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9301/0.9301, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 101.3 kB / 0.5954 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1267, allocations: 86.98 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002289/0.129, allocations: 1.437 MB / 0.6817 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007009/0.1298, allocations: 0.5017 MB / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.092e-05/0.1298, allocations: 0 / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.724e-05/0.1298, allocations: 3.984 kB / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.13, allocations: 23.86 kB / 0.6822 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.842e-05/0.1301, allocations: 31.91 kB / 0.6822 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.292e-05/0.1302, allocations: 47.8 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.047e-05/0.1303, allocations: 15.91 kB / 0.6823 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.433e-05/0.1304, allocations: 19.98 kB / 0.6823 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.289e-05/0.1304, allocations: 23.92 kB / 0.6823 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.1305, allocations: 7.938 kB / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.321e-05/0.1305, allocations: 4 kB / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.1305, allocations: 19.84 kB / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.201e-05/0.1306, allocations: 23.92 kB / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.77e-05/0.1307, allocations: 39.88 kB / 0.6824 GB, free: 14.37 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1307, allocations: 0 / 0.6824 GB, free: 14.37 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1307, allocations: 0 / 0.6824 GB, free: 14.37 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1307, allocations: 0 / 0.6824 GB, free: 14.37 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.0004952/0.1312, allocations: 351.4 kB / 0.6828 GB, free: 13.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.1312, allocations: 8.031 kB / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.534e-05/0.1313, allocations: 42.75 kB / 0.6828 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.492e-05/0.1313, allocations: 0.9375 kB / 0.6828 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.1314, allocations: 176.3 kB / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1314, allocations: 384 / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.1314, allocations: 4.375 kB / 0.683 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.1316, allocations: 57.8 kB / 0.683 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.1316, allocations: 3.938 kB / 0.6831 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1316, allocations: 4 kB / 0.6831 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1316, allocations: 0 / 0.6831 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.688e-05/0.1317, allocations: 23.97 kB / 0.6831 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.132, allocations: 276.8 kB / 0.6833 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.1322, allocations: 66.61 kB / 0.6834 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.1322, allocations: 20.86 kB / 0.6834 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.1323, allocations: 0 / 0.6834 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.1324, allocations: 71.38 kB / 0.6835 GB, free: 13.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1324, allocations: 0 / 0.6835 GB, free: 13.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002086/0.1326, allocations: 89.67 kB / 0.6836 GB, free: 13.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.1327, allocations: 59.28 kB / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.839e-05/0.1327, allocations: 105.8 kB / 0.6837 GB, free: 12.83 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.1327, allocations: 29.7 kB / 0.6838 GB, free: 12.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.1328, allocations: 88.11 kB / 0.6839 GB, free: 12.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.1328, allocations: 23.75 kB / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.1329, allocations: 21.7 kB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.522e-05/0.1329, allocations: 318.8 kB / 0.6842 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.521e-05/0.133, allocations: 12.23 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.078e-05/0.133, allocations: 19.98 kB / 0.6842 GB, free: 12.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.066e-05/0.1331, allocations: 40.86 kB / 0.6843 GB, free: 12.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1331, allocations: 0 / 0.6843 GB, free: 12.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000116/0.1332, allocations: 69.62 kB / 0.6843 GB, free: 12.19 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1332, allocations: 10.02 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.1333, allocations: 4 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1333, allocations: 7.938 kB / 0.6844 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.243e-05/0.1333, allocations: 8 kB / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.1334, allocations: 240 / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.969e-05/0.1334, allocations: 7.891 kB / 0.6844 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.1334, allocations: 7.984 kB / 0.6844 GB, free: 12.14 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.172e-05/0.1335, allocations: 119.1 kB / 0.6845 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.1335, allocations: 0 / 0.6845 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.1337, allocations: 109.6 kB / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1337, allocations: 0 / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1338, allocations: 0 / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1338, allocations: 0 / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.1339, allocations: 185.5 kB / 0.6848 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-06/0.1339, allocations: 4 kB / 0.6848 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.217e-05/0.134, allocations: 8 kB / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.134, allocations: 3.938 kB / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.134, allocations: 7.984 kB / 0.6848 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.134, allocations: 0 / 0.6848 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.134, allocations: 8 kB / 0.6848 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.1342, allocations: 121.1 kB / 0.6849 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.1342, allocations: 85 kB / 0.685 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.1342, allocations: 4 kB / 0.685 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.03e-05/0.1343, allocations: 3.984 kB / 0.685 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.1343, allocations: 11.94 kB / 0.685 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.1344, allocations: 4 kB / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.057e-05/0.1344, allocations: 87.27 kB / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1344, allocations: 0 / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000193/0.1346, allocations: 12 kB / 0.6851 GB, free: 11.29 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.0003779/0.135, allocations: 0.6594 MB / 0.6858 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.1351, allocations: 55.91 kB / 0.6858 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1351, allocations: 4 kB / 0.6858 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.985e-05/0.1352, allocations: 35.92 kB / 0.6859 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.1354, allocations: 4 kB / 0.6859 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009728/0.1363, allocations: 1.226 MB / 0.6871 GB, free: 9.195 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.1365, allocations: 0.6846 MB / 0.6877 GB, free: 8.484 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.494e-05/0.1366, allocations: 7.984 kB / 0.6877 GB, free: 8.477 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.197e-05/0.1366, allocations: 19.44 kB / 0.6877 GB, free: 8.457 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1366, allocations: 0 / 0.6877 GB, free: 8.457 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01538/0.152, allocations: 1.645 MB / 0.6894 GB, free: 6.977 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.705/6.857, allocations: 9.938 kB / 0.6894 GB, free: 6.969 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)