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.004635/0.004635, allocations: 100.9 kB / 15.73 MB, free: 6 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.0012/0.0012, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002491/0.002491, allocations: 291.1 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.021/1.021, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002741/0.002741, allocations: 103.8 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1638, allocations: 86.97 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002677/0.1665, allocations: 1.447 MB / 0.7673 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004281/0.167, allocations: 187.4 kB / 0.7675 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.806e-05/0.167, allocations: 4 kB / 0.7675 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.522e-05/0.167, allocations: 3.938 kB / 0.7675 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.1673, allocations: 31.83 kB / 0.7675 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.1675, allocations: 59.84 kB / 0.7676 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.1676, allocations: 55.84 kB / 0.7677 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.621e-05/0.1677, allocations: 12.27 kB / 0.7677 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.348e-05/0.1677, allocations: 23.92 kB / 0.7677 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.36e-05/0.1678, allocations: 15.92 kB / 0.7677 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.1678, allocations: 8 kB / 0.7677 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.529e-05/0.1678, allocations: 4 kB / 0.7677 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.145e-05/0.1679, allocations: 19.91 kB / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.895e-05/0.1679, allocations: 27.86 kB / 0.7678 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.168, allocations: 47.8 kB / 0.7678 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1681, allocations: 0 / 0.7678 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1681, allocations: 0 / 0.7678 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.1681, allocations: 0 / 0.7678 GB, free: 6.98 MB / 0.5606 GB 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.0005475/0.1686, allocations: 351.4 kB / 0.7681 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1687, allocations: 15.97 kB / 0.7682 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.703e-05/0.1687, allocations: 30.75 kB / 0.7682 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.1688, allocations: 16.88 kB / 0.7682 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.1689, allocations: 168.3 kB / 0.7684 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1689, allocations: 384 / 0.7684 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.1689, allocations: 4.375 kB / 0.7684 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1691, allocations: 76.75 kB / 0.7684 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.1691, allocations: 3.938 kB / 0.7684 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1691, allocations: 4 kB / 0.7685 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1691, allocations: 4 kB / 0.7685 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.579e-05/0.1692, allocations: 15.98 kB / 0.7685 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.1696, allocations: 272.9 kB / 0.7687 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.982e-05/0.1697, allocations: 38.5 kB / 0.7688 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.691e-05/0.1697, allocations: 16.86 kB / 0.7688 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/0.1698, allocations: 4 kB / 0.7688 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.1699, allocations: 67.47 kB / 0.7689 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.1699, allocations: 0 / 0.7689 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002103/0.1702, allocations: 69.62 kB / 0.7689 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.933e-05/0.1702, allocations: 102.8 kB / 0.769 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.536e-05/0.1703, allocations: 105.8 kB / 0.7691 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.1704, allocations: 29.7 kB / 0.7691 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.1704, allocations: 92.09 kB / 0.7692 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.1705, allocations: 11.94 kB / 0.7692 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.1705, allocations: 21.66 kB / 0.7693 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1707, allocations: 322.8 kB / 0.7696 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.26e-05/0.1707, allocations: 12 kB / 0.7696 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.374e-05/0.1708, allocations: 30.56 kB / 0.7696 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.753e-05/0.1708, allocations: 25.23 kB / 0.7696 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1708, allocations: 4.031 kB / 0.7696 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001248/0.171, allocations: 69.62 kB / 0.7697 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.171, allocations: 6.188 kB / 0.7697 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.171, allocations: 0 / 0.7697 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.171, allocations: 0 / 0.7697 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.064e-05/0.1711, allocations: 4 kB / 0.7697 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1711, allocations: 7.984 kB / 0.7697 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.1712, allocations: 12.08 kB / 0.7697 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1712, allocations: 0 / 0.7697 GB, free: 4.738 MB / 0.5606 GB 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.0001025/0.1713, allocations: 130.4 kB / 0.7699 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.1714, allocations: 4 kB / 0.7699 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.698e-05/0.1714, allocations: 3.5 kB / 0.7699 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.1714, allocations: 0 / 0.7699 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1714, allocations: 3.938 kB / 0.7699 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1714, allocations: 0 / 0.7699 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.1716, allocations: 177.6 kB / 0.77 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1716, allocations: 4 kB / 0.77 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.357e-05/0.1716, allocations: 3.938 kB / 0.77 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1716, allocations: 0 / 0.77 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.1716, allocations: 8 kB / 0.7701 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1716, allocations: 0 / 0.7701 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1716, allocations: 0 / 0.7701 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.1718, allocations: 93 kB / 0.7701 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.869e-05/0.1719, allocations: 89.09 kB / 0.7702 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.1719, allocations: 0 / 0.7702 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.172, allocations: 13.95 kB / 0.7702 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.1721, allocations: 4 kB / 0.7702 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.1721, allocations: 4 kB / 0.7703 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.375e-05/0.1722, allocations: 91.33 kB / 0.7703 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1722, allocations: 0 / 0.7703 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001966/0.1724, allocations: 8 kB / 0.7703 GB, free: 4.02 MB / 0.5606 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.0004812/0.1729, allocations: 0.6396 MB / 0.771 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001193/0.173, allocations: 27.98 kB / 0.771 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.173, allocations: 4 kB / 0.771 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.273e-05/0.173, allocations: 15.94 kB / 0.771 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.1732, allocations: 2.578 kB / 0.771 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.1744, allocations: 1.182 MB / 0.7722 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.1747, allocations: 0.6807 MB / 0.7728 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.652e-05/0.1748, allocations: 4 kB / 0.7728 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.641e-05/0.1748, allocations: 7.438 kB / 0.7728 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.1748, allocations: 4.094 kB / 0.7729 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2832/0.458, allocations: 1.782 MB / 0.7746 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.801/8.259, allocations: 11.03 kB / 0.7746 GB, free: 14.44 MB / 0.5606 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)