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.00131/0.00131, 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.001265/0.001265, allocations: 195.7 kB / 16.53 MB, free: 6.391 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.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002528/0.002529, allocations: 283.1 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.073/1.073, allocations: 178.6 MB / 0.5073 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002783/0.002783, allocations: 96.64 kB / 0.6065 GB, free: 24.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1546, allocations: 89.15 MB / 0.6936 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003466/0.1581, allocations: 1.451 MB / 0.695 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005102/0.1586, allocations: 193.1 kB / 0.6952 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.927e-05/0.1587, allocations: 0 / 0.6952 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.192e-05/0.1587, allocations: 3.938 kB / 0.6952 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.159, allocations: 28.47 kB / 0.6952 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.1592, allocations: 59.56 kB / 0.6953 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.1593, allocations: 47.92 kB / 0.6953 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1594, allocations: 16.19 kB / 0.6954 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.922e-05/0.1595, allocations: 23.94 kB / 0.6954 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.875e-05/0.1596, allocations: 24.56 kB / 0.6954 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.1596, allocations: 4 kB / 0.6954 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.736e-05/0.1596, allocations: 6 kB / 0.6954 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.244e-05/0.1597, allocations: 11.92 kB / 0.6954 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.107e-05/0.1597, allocations: 23.92 kB / 0.6954 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.1598, allocations: 47.8 kB / 0.6955 GB, free: 2.324 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1598, allocations: 0 / 0.6955 GB, free: 2.324 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1599, allocations: 6.219 kB / 0.6955 GB, free: 2.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.1599, allocations: 0 / 0.6955 GB, free: 2.32 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.0005925/0.1605, allocations: 351.4 kB / 0.6958 GB, free: 1.926 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.1605, allocations: 8.031 kB / 0.6958 GB, free: 1.918 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.371e-05/0.1606, allocations: 34.75 kB / 0.6959 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.1606, allocations: 5.469 kB / 0.6959 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.1607, allocations: 176.4 kB / 0.696 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1608, allocations: 384 / 0.696 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.1608, allocations: 4.375 kB / 0.696 GB, free: 1.656 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.1609, allocations: 72.75 kB / 0.6961 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.161, allocations: 3.938 kB / 0.6961 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.161, allocations: 8 kB / 0.6961 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.161, allocations: 0 / 0.6961 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.913e-05/0.1611, allocations: 15.98 kB / 0.6961 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.1614, allocations: 272.8 kB / 0.6964 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.442e-05/0.1615, allocations: 38.56 kB / 0.6964 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.571e-05/0.1616, allocations: 16.86 kB / 0.6965 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.1616, allocations: 0 / 0.6965 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.1618, allocations: 71.39 kB / 0.6965 GB, free: 1.078 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 3.467e-06/0.1618, allocations: 3.984 kB / 0.6965 GB, free: 1.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002121/0.162, allocations: 73.61 kB / 0.6966 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.541e-05/0.1621, allocations: 106.8 kB / 0.6967 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.872e-05/0.1622, allocations: 109.8 kB / 0.6968 GB, free: 0.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.1622, allocations: 25.7 kB / 0.6968 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.1623, allocations: 88.08 kB / 0.6969 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.1623, allocations: 15.75 kB / 0.6969 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.736e-05/0.1624, allocations: 25.7 kB / 0.697 GB, free: 0.582 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1626, allocations: 322.8 kB / 0.6973 GB, free: 264 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.26e-05/0.1626, allocations: 11.98 kB / 0.6973 GB, free: 252 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.069e-05/0.1626, allocations: 26.58 kB / 0.6973 GB, free: 216 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.172e-05/0.1627, allocations: 37.16 kB / 0.6973 GB, free: 176 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1627, allocations: 0 / 0.6973 GB, free: 176 kB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001132/0.1628, allocations: 57.69 kB / 0.6974 GB, free: 112 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1629, allocations: 8.031 kB / 0.6974 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1629, allocations: 0 / 0.6974 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1629, allocations: 0 / 0.6974 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.551e-05/0.163, allocations: 12 kB / 0.6974 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.163, allocations: 0 / 0.6974 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.1631, allocations: 7.984 kB / 0.6974 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1631, allocations: 4 kB / 0.6974 GB, free: 80 kB / 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 0.0001119/0.1632, allocations: 121.7 kB / 0.6975 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.1632, allocations: 3.906 kB / 0.6975 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/0.1633, allocations: 11.48 kB / 0.6976 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.1633, allocations: 4 kB / 0.6976 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1633, allocations: 0 / 0.6976 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1633, allocations: 0 / 0.6976 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.1635, allocations: 173.6 kB / 0.6977 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1635, allocations: 0 / 0.6977 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.56e-05/0.1635, allocations: 7.984 kB / 0.6977 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1635, allocations: 0 / 0.6977 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.1635, allocations: 0 / 0.6977 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1635, allocations: 0 / 0.6977 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1635, allocations: 0 / 0.6977 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.1637, allocations: 97.05 kB / 0.6978 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.331e-05/0.1638, allocations: 77.11 kB / 0.6979 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.1638, allocations: 11.98 kB / 0.6979 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1639, allocations: 4 kB / 0.6979 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.164, allocations: 11.92 kB / 0.6979 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.164, allocations: 0 / 0.6979 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.044e-05/0.164, allocations: 95.28 kB / 0.698 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.164, allocations: 0 / 0.698 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001984/0.1643, allocations: 12 kB / 0.698 GB, free: 15.36 MB / 0.4981 GB 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.000507/0.1648, allocations: 0.6357 MB / 0.6986 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.1649, allocations: 31.94 kB / 0.6987 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.1649, allocations: 4 kB / 0.6987 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.183e-05/0.165, allocations: 16.27 kB / 0.6987 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.1651, allocations: 4.75 kB / 0.6987 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.1663, allocations: 1.171 MB / 0.6998 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.1666, allocations: 0.6768 MB / 0.7005 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.666e-05/0.1666, allocations: 11.97 kB / 0.7005 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.1667, allocations: 15.44 kB / 0.7005 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1667, allocations: 7.938 kB / 0.7005 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.1891, allocations: 1.775 MB / 0.7023 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.645/7.834, allocations: 8.125 kB / 0.7023 GB, free: 11.02 MB / 0.4981 GB (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)