Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.001031/0.001032, allocations: 108 kB / 15.61 MB, free: 152 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.00105/0.00105, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.273/1.273, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002014/0.002014, allocations: 271.1 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9449/0.9449, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 99.69 kB / 0.5954 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1307, allocations: 86.98 MB / 0.6803 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002427/0.1331, allocations: 1.446 MB / 0.6817 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003903/0.1335, allocations: 192 kB / 0.6819 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.612e-05/0.1336, allocations: 0 / 0.6819 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.419e-05/0.1336, allocations: 9.438 kB / 0.6819 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.1338, allocations: 23.84 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.134, allocations: 51.23 kB / 0.682 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.767e-05/0.1341, allocations: 63.78 kB / 0.682 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.358e-05/0.1342, allocations: 11.94 kB / 0.682 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.172e-05/0.1342, allocations: 23.98 kB / 0.6821 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.401e-05/0.1343, allocations: 27.84 kB / 0.6821 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.1343, allocations: 4 kB / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.802e-05/0.1344, allocations: 4 kB / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.386e-05/0.1344, allocations: 15.86 kB / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.1344, allocations: 23.92 kB / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.972e-05/0.1345, allocations: 43.86 kB / 0.6822 GB, free: 14.69 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1345, allocations: 0 / 0.6822 GB, free: 14.69 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1345, allocations: 8 kB / 0.6822 GB, free: 14.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1345, allocations: 0 / 0.6822 GB, free: 14.68 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.000448/0.135, allocations: 349.1 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.135, allocations: 8.031 kB / 0.6825 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.199e-05/0.1351, allocations: 38.73 kB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.694e-05/0.1351, allocations: 0.9375 kB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.1352, allocations: 168.3 kB / 0.6827 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1352, allocations: 4.375 kB / 0.6827 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.1353, allocations: 4.375 kB / 0.6827 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.1354, allocations: 76.75 kB / 0.6828 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.1354, allocations: 7.938 kB / 0.6828 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1354, allocations: 0 / 0.6828 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1354, allocations: 0 / 0.6828 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.967e-05/0.1355, allocations: 19.98 kB / 0.6828 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003044/0.1358, allocations: 268.9 kB / 0.6831 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.128e-05/0.1359, allocations: 42.5 kB / 0.6831 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.095e-05/0.1359, allocations: 16.86 kB / 0.6831 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.886e-06/0.1359, allocations: 4.078 kB / 0.6831 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/0.1361, allocations: 67.38 kB / 0.6832 GB, free: 13.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.1361, allocations: 0 / 0.6832 GB, free: 13.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001806/0.1363, allocations: 77.53 kB / 0.6833 GB, free: 13.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.1363, allocations: 106.8 kB / 0.6834 GB, free: 13.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.045e-05/0.1364, allocations: 105.8 kB / 0.6835 GB, free: 13.12 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1364, allocations: 29.64 kB / 0.6835 GB, free: 13.08 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.1365, allocations: 88.08 kB / 0.6836 GB, free: 12.99 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.1365, allocations: 11.89 kB / 0.6836 GB, free: 12.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.1365, allocations: 17.72 kB / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.047e-05/0.1366, allocations: 322.8 kB / 0.6839 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.695e-05/0.1367, allocations: 12 kB / 0.684 GB, free: 12.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.794e-05/0.1367, allocations: 34.56 kB / 0.684 GB, free: 12.58 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.032e-05/0.1368, allocations: 29.23 kB / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1368, allocations: 0 / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.638e-05/0.1369, allocations: 65.53 kB / 0.6841 GB, free: 12.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.1369, allocations: 4 kB / 0.6841 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.1369, allocations: 4.125 kB / 0.6841 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.1369, allocations: 0 / 0.6841 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.747e-05/0.137, allocations: 12.03 kB / 0.6841 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.137, allocations: 3.984 kB / 0.6841 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.1371, allocations: 11.98 kB / 0.6841 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.1371, allocations: 4 kB / 0.6841 GB, free: 12.44 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.238e-05/0.1372, allocations: 119.1 kB / 0.6842 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.1372, allocations: 0 / 0.6842 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.284e-05/0.1373, allocations: 7.5 kB / 0.6842 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1373, allocations: 4 kB / 0.6842 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1373, allocations: 0 / 0.6842 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1373, allocations: 4 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.1374, allocations: 173.6 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1374, allocations: 0 / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.457e-05/0.1374, allocations: 7.938 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1374, allocations: 0 / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.1375, allocations: 0 / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1375, allocations: 0 / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1375, allocations: 0 / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.1376, allocations: 101 kB / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.1377, allocations: 81.09 kB / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.1377, allocations: 4 kB / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.1378, allocations: 11.98 kB / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.1378, allocations: 4 kB / 0.6846 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.1379, allocations: 3.938 kB / 0.6846 GB, free: 11.83 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.591e-05/0.1379, allocations: 91.33 kB / 0.6847 GB, free: 11.74 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1379, allocations: 0 / 0.6847 GB, free: 11.74 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001952/0.1381, allocations: 12 kB / 0.6847 GB, free: 11.73 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,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0003596/0.1385, allocations: 0.6318 MB / 0.6853 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.1386, allocations: 35.98 kB / 0.6854 GB, free: 11.03 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1386, allocations: 0 / 0.6854 GB, free: 11.03 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.178e-05/0.1387, allocations: 15.94 kB / 0.6854 GB, free: 11.01 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.1388, allocations: 4 kB / 0.6854 GB, free: 11.01 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00091/0.1397, allocations: 1.183 MB / 0.6865 GB, free: 9.746 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.1399, allocations: 0.6768 MB / 0.6872 GB, free: 9.043 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.297e-05/0.14, allocations: 7.906 kB / 0.6872 GB, free: 9.035 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.14, allocations: 15.44 kB / 0.6872 GB, free: 9.02 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.14, allocations: 0 / 0.6872 GB, free: 9.02 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01661/0.1566, allocations: 1.761 MB / 0.6889 GB, free: 7.402 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.765/6.922, allocations: 7.188 kB / 0.6889 GB, free: 7.398 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv --start-time 0 --stop-time 7.776e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31104 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)