Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.CheckTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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.001096/0.001096, 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.001225/0.001225, allocations: 197.7 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.299/1.299, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002169/0.002169, allocations: 283.1 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9494/0.9494, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003018/0.003018, allocations: 92.3 kB / 0.5953 GB, free: 27.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1437, allocations: 86.98 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003048/0.1468, allocations: 1.868 MB / 0.6821 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.1488, allocations: 1.584 MB / 0.6837 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.461e-05/0.1489, allocations: 0 / 0.6837 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.149, allocations: 24.58 kB / 0.6837 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.1493, allocations: 88.25 kB / 0.6838 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.1497, allocations: 163 kB / 0.6839 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002925/0.15, allocations: 287.3 kB / 0.6842 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1501, allocations: 29.11 kB / 0.6842 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.713e-05/0.1502, allocations: 95.81 kB / 0.6843 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.1504, allocations: 111.6 kB / 0.6844 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.421e-05/0.1505, allocations: 20 kB / 0.6844 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.1506, allocations: 83.97 kB / 0.6845 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.1508, allocations: 91.73 kB / 0.6846 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.1509, allocations: 127.2 kB / 0.6847 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.1512, allocations: 315 kB / 0.685 GB, free: 11.73 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1512, allocations: 3.938 kB / 0.685 GB, free: 11.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1512, allocations: 0 / 0.685 GB, free: 11.73 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1513, allocations: 4 kB / 0.685 GB, free: 11.72 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007518/0.152, allocations: 0.5579 MB / 0.6856 GB, free: 11.12 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1521, allocations: 12.03 kB / 0.6856 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.552e-05/0.1521, allocations: 50.73 kB / 0.6856 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.1523, allocations: 36.56 kB / 0.6857 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.1526, allocations: 270.7 kB / 0.6859 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.1526, allocations: 24.23 kB / 0.686 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.1526, allocations: 19.94 kB / 0.686 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/0.153, allocations: 240.9 kB / 0.6862 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.153, allocations: 0 / 0.6862 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.153, allocations: 8 kB / 0.6862 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.153, allocations: 4 kB / 0.6862 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008395/0.1539, allocations: 0.7529 MB / 0.687 GB, free: 9.648 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009362/0.1548, allocations: 0.6408 MB / 0.6876 GB, free: 8.953 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004821/0.1553, allocations: 309.9 kB / 0.6879 GB, free: 8.645 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.1555, allocations: 105.4 kB / 0.688 GB, free: 8.539 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.962e-05/0.1555, allocations: 20.25 kB / 0.688 GB, free: 8.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003303/0.1559, allocations: 184.6 kB / 0.6882 GB, free: 8.328 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.714e-06/0.1559, allocations: 0 / 0.6882 GB, free: 8.328 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006445/0.1565, allocations: 381.5 kB / 0.6885 GB, free: 7.949 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.13e-05/0.1566, allocations: 136.5 kB / 0.6887 GB, free: 7.785 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.1569, allocations: 305 kB / 0.689 GB, free: 7.477 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.1569, allocations: 33.7 kB / 0.689 GB, free: 7.438 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.382e-05/0.157, allocations: 136.6 kB / 0.6891 GB, free: 7.301 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.302e-05/0.1571, allocations: 118.3 kB / 0.6892 GB, free: 7.184 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.52e-05/0.1572, allocations: 65.69 kB / 0.6893 GB, free: 7.113 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1573, allocations: 334.8 kB / 0.6896 GB, free: 6.777 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.1575, allocations: 83.81 kB / 0.6897 GB, free: 6.695 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.1577, allocations: 123.4 kB / 0.6898 GB, free: 6.562 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.158, allocations: 226.2 kB / 0.69 GB, free: 6.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.158, allocations: 0 / 0.69 GB, free: 6.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004263/0.1584, allocations: 281.1 kB / 0.6903 GB, free: 6.059 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.1584, allocations: 7.938 kB / 0.6903 GB, free: 6.051 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1585, allocations: 0 / 0.6903 GB, free: 6.051 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1585, allocations: 0 / 0.6903 GB, free: 6.051 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.1587, allocations: 67.89 kB / 0.6904 GB, free: 5.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1587, allocations: 4 kB / 0.6904 GB, free: 5.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.1589, allocations: 23.78 kB / 0.6904 GB, free: 5.957 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.1589, allocations: 15.98 kB / 0.6904 GB, free: 5.941 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 (36): * Single equations (assignments): 36 * 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.0001441/0.159, allocations: 167 kB / 0.6906 GB, free: 5.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.924e-05/0.1591, allocations: 35.56 kB / 0.6906 GB, free: 5.734 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006701/0.1598, allocations: 384.9 kB / 0.691 GB, free: 5.344 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1598, allocations: 7.938 kB / 0.691 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1598, allocations: 0 / 0.691 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.1598, allocations: 3.984 kB / 0.691 GB, free: 5.332 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.1601, allocations: 353.1 kB / 0.6913 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1601, allocations: 0 / 0.6913 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.1603, allocations: 55.92 kB / 0.6914 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.1603, allocations: 7.922 kB / 0.6914 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.1604, allocations: 8 kB / 0.6914 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1604, allocations: 4 kB / 0.6914 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1604, allocations: 0 / 0.6914 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004588/0.1608, allocations: 325.6 kB / 0.6917 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.161, allocations: 148.7 kB / 0.6918 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.161, allocations: 11.94 kB / 0.6919 GB, free: 4.352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.1612, allocations: 27.97 kB / 0.6919 GB, free: 4.324 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.1613, allocations: 19.97 kB / 0.6919 GB, free: 4.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/0.1613, allocations: 19.98 kB / 0.6919 GB, free: 4.285 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000189/0.1615, allocations: 232.5 kB / 0.6921 GB, free: 4.059 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1615, allocations: 0 / 0.6921 GB, free: 4.059 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.1618, allocations: 67.98 kB / 0.6922 GB, free: 3.992 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 (35): * Single equations (assignments): 34 * 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.001472/0.1633, allocations: 1.172 MB / 0.6934 GB, free: 2.945 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005136/0.1638, allocations: 307.6 kB / 0.6936 GB, free: 2.645 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1638, allocations: 0 / 0.6936 GB, free: 2.645 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.164, allocations: 131.8 kB / 0.6938 GB, free: 2.516 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.1643, allocations: 43.55 kB / 0.6938 GB, free: 2.477 MB / 494.1 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/0.167, allocations: 2.516 MB / 0.6963 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.1673, allocations: 0.7614 MB / 0.697 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003122/0.1676, allocations: 147 kB / 0.6972 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.1678, allocations: 99.39 kB / 0.6973 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1678, allocations: 0 / 0.6973 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2952/0.463, allocations: 5.987 MB / 0.7031 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.053/7.516, allocations: 14.62 kB / 0.7031 GB, free: 9.059 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)