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.001316/0.001316, 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.00161/0.00161, allocations: 197.4 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.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002515/0.002515, allocations: 286.6 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.064/1.064, allocations: 178.6 MB / 0.5073 GB, free: 4.551 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002739/0.002739, allocations: 100.8 kB / 0.6066 GB, free: 24.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1522, allocations: 89.15 MB / 0.6936 GB, free: 4.191 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003389/0.1556, allocations: 1.869 MB / 0.6954 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.1579, allocations: 1.584 MB / 0.697 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.168e-05/0.158, allocations: 0 / 0.697 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.1582, allocations: 31.78 kB / 0.697 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.1585, allocations: 75.55 kB / 0.6971 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.1589, allocations: 166.1 kB / 0.6972 GB, free: 476 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.1592, allocations: 277.4 kB / 0.6975 GB, free: 200 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1594, allocations: 37.05 kB / 0.6975 GB, free: 164 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.1595, allocations: 95.81 kB / 0.6976 GB, free: 68 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.1597, allocations: 107.6 kB / 0.6977 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.796e-05/0.1598, allocations: 20 kB / 0.6978 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.16, allocations: 91.95 kB / 0.6978 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.1601, allocations: 83.8 kB / 0.6979 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.1602, allocations: 123.3 kB / 0.698 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003688/0.1606, allocations: 323 kB / 0.6983 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1606, allocations: 4 kB / 0.6984 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1606, allocations: 0 / 0.6984 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.1606, allocations: 0 / 0.6984 GB, free: 15.33 MB / 0.4981 GB 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.0008202/0.1614, allocations: 0.5603 MB / 0.6989 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1615, allocations: 12.03 kB / 0.6989 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.195e-05/0.1616, allocations: 58.66 kB / 0.699 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.1617, allocations: 36.64 kB / 0.699 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.162, allocations: 274.7 kB / 0.6993 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.1621, allocations: 12.38 kB / 0.6993 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.1621, allocations: 27.94 kB / 0.6993 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004019/0.1625, allocations: 236.9 kB / 0.6995 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.1625, allocations: 0 / 0.6995 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.1626, allocations: 12 kB / 0.6995 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1626, allocations: 4 kB / 0.6995 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009209/0.1635, allocations: 0.7451 MB / 0.7003 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.1645, allocations: 0.6446 MB / 0.7009 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005157/0.1651, allocations: 314.4 kB / 0.7012 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.1653, allocations: 113.4 kB / 0.7013 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.908e-05/0.1653, allocations: 20.25 kB / 0.7013 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003492/0.1657, allocations: 179.4 kB / 0.7015 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.623e-06/0.1657, allocations: 0 / 0.7015 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.0007242/0.1664, allocations: 379.7 kB / 0.7019 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.193e-05/0.1665, allocations: 132.5 kB / 0.702 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.1668, allocations: 313 kB / 0.7023 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.1669, allocations: 33.7 kB / 0.7023 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.167, allocations: 136.5 kB / 0.7024 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.1671, allocations: 114.4 kB / 0.7026 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.1672, allocations: 65.69 kB / 0.7026 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1674, allocations: 342.8 kB / 0.7029 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.1675, allocations: 87.75 kB / 0.703 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.1677, allocations: 127.5 kB / 0.7032 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003492/0.1681, allocations: 212.6 kB / 0.7034 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1681, allocations: 0 / 0.7034 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004648/0.1686, allocations: 281.6 kB / 0.7036 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1686, allocations: 11.94 kB / 0.7036 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1686, allocations: 0 / 0.7036 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1686, allocations: 0 / 0.7036 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.1689, allocations: 59.91 kB / 0.7037 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1689, allocations: 4 kB / 0.7037 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.169, allocations: 27.83 kB / 0.7037 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.1691, allocations: 12 kB / 0.7037 GB, free: 9.539 MB / 0.4981 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 (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.0001665/0.1692, allocations: 165.7 kB / 0.7039 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.1693, allocations: 39.5 kB / 0.7039 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007027/0.17, allocations: 388.5 kB / 0.7043 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.17, allocations: 4 kB / 0.7043 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.17, allocations: 4 kB / 0.7043 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.17, allocations: 3.938 kB / 0.7043 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/0.1704, allocations: 341.3 kB / 0.7046 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1704, allocations: 0 / 0.7046 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.1706, allocations: 63.91 kB / 0.7047 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1706, allocations: 3.984 kB / 0.7047 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.1707, allocations: 19.97 kB / 0.7047 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1707, allocations: 4 kB / 0.7047 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1707, allocations: 0 / 0.7047 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005207/0.1712, allocations: 326.1 kB / 0.705 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.1714, allocations: 148.7 kB / 0.7052 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.267e-05/0.1714, allocations: 7.938 kB / 0.7052 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.1716, allocations: 19.98 kB / 0.7052 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.1717, allocations: 31.89 kB / 0.7052 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.1717, allocations: 12 kB / 0.7052 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000231/0.172, allocations: 236.4 kB / 0.7055 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.172, allocations: 0 / 0.7055 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003002/0.1723, allocations: 72 kB / 0.7055 GB, free: 7.586 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 (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.002118/0.1744, allocations: 1.17 MB / 0.7067 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000544/0.1749, allocations: 308.1 kB / 0.707 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.175, allocations: 0 / 0.707 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.1752, allocations: 127.8 kB / 0.7071 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.1755, allocations: 45.16 kB / 0.7071 GB, free: 6.07 MB / 0.4981 GB 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.00319/0.1787, allocations: 2.512 MB / 0.7096 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.1791, allocations: 0.7582 MB / 0.7103 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003407/0.1794, allocations: 146.9 kB / 0.7105 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.1796, allocations: 105.5 kB / 0.7106 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.1796, allocations: 0 / 0.7106 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5019/0.6815, allocations: 5.988 MB / 0.7164 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.776/8.458, allocations: 8.125 kB / 0.7164 GB, free: 12.64 MB / 0.5137 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)