Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_8_Buildings_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.001215/0.001215, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001294/0.001294, allocations: 196.6 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.196/1.196, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.516/1.516, allocations: 292.3 MB / 0.5486 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001263, allocations: 66.53 kB / 0.6711 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1603, allocations: 114.5 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002737/0.1631, allocations: 1.921 MB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.1647, allocations: 1.461 MB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.544e-05/0.1647, allocations: 0 / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001797/0.1649, allocations: 23.86 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.1652, allocations: 63.73 kB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.1655, allocations: 142.2 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000241/0.1657, allocations: 277.3 kB / 0.7868 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.978e-05/0.1658, allocations: 37.33 kB / 0.7868 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.561e-05/0.1659, allocations: 99.73 kB / 0.7869 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.1661, allocations: 99.7 kB / 0.787 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.32e-05/0.1661, allocations: 20 kB / 0.787 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1663, allocations: 71.97 kB / 0.7871 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.358e-05/0.1663, allocations: 91.69 kB / 0.7872 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.551e-05/0.1664, allocations: 119.3 kB / 0.7873 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.1667, allocations: 307.1 kB / 0.7876 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1668, allocations: 3.984 kB / 0.7876 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.163e-06/0.1668, allocations: 0 / 0.7876 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.1668, allocations: 0 / 0.7876 GB, free: 9.094 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006514/0.1674, allocations: 0.55 MB / 0.7881 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.1675, allocations: 11.97 kB / 0.7881 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.055e-05/0.1675, allocations: 54.73 kB / 0.7882 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.1676, allocations: 28.66 kB / 0.7882 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.1679, allocations: 274.7 kB / 0.7885 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.1679, allocations: 32.14 kB / 0.7885 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.1679, allocations: 19.94 kB / 0.7885 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003328/0.1683, allocations: 229.4 kB / 0.7887 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.1683, allocations: 0 / 0.7887 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.1683, allocations: 4 kB / 0.7887 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1683, allocations: 8 kB / 0.7887 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007736/0.1691, allocations: 0.7449 MB / 0.7895 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008635/0.17, allocations: 0.6293 MB / 0.7901 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.1704, allocations: 317.9 kB / 0.7904 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.1706, allocations: 105.4 kB / 0.7905 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.1706, allocations: 20.25 kB / 0.7905 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002787/0.1709, allocations: 179.9 kB / 0.7907 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=35): time 1.533e-06/0.1709, allocations: 0 / 0.7907 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.0005854/0.1715, allocations: 383 kB / 0.791 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/0.1716, allocations: 140.3 kB / 0.7912 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.1718, allocations: 309 kB / 0.7915 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.1719, allocations: 37.7 kB / 0.7915 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/0.1719, allocations: 132.6 kB / 0.7916 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.555e-05/0.172, allocations: 118.3 kB / 0.7917 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.279e-05/0.1721, allocations: 65.69 kB / 0.7918 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.373e-05/0.1722, allocations: 342.8 kB / 0.7921 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.1723, allocations: 79.95 kB / 0.7922 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.1725, allocations: 123.4 kB / 0.7923 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.1728, allocations: 217.4 kB / 0.7925 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1728, allocations: 3.938 kB / 0.7925 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003812/0.1732, allocations: 277.1 kB / 0.7928 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.1732, allocations: 8 kB / 0.7928 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1732, allocations: 0 / 0.7928 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.1732, allocations: 3.938 kB / 0.7928 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.1734, allocations: 63.91 kB / 0.7929 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1734, allocations: 4 kB / 0.7929 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.1736, allocations: 35.67 kB / 0.7929 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.1736, allocations: 12 kB / 0.7929 GB, free: 3.32 MB / 0.6075 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.000134/0.1738, allocations: 166.4 kB / 0.7931 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/0.1738, allocations: 23.72 kB / 0.7931 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006345/0.1745, allocations: 388.5 kB / 0.7935 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1745, allocations: 4 kB / 0.7935 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.1745, allocations: 8 kB / 0.7935 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1745, allocations: 0 / 0.7935 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.1748, allocations: 345.2 kB / 0.7938 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1748, allocations: 0 / 0.7938 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.1749, allocations: 55.91 kB / 0.7939 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.175, allocations: 4 kB / 0.7939 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.175, allocations: 11.94 kB / 0.7939 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.175, allocations: 0 / 0.7939 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.175, allocations: 3.984 kB / 0.7939 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004263/0.1754, allocations: 330.1 kB / 0.7942 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.1755, allocations: 140.7 kB / 0.7943 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.1756, allocations: 15.92 kB / 0.7944 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.1758, allocations: 19.98 kB / 0.7944 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.1758, allocations: 23.97 kB / 0.7944 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.1759, allocations: 15.98 kB / 0.7944 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001744/0.176, allocations: 240.4 kB / 0.7946 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.176, allocations: 0 / 0.7946 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002652/0.1763, allocations: 75.84 kB / 0.7947 GB, free: 1.387 MB / 0.6075 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.001353/0.1777, allocations: 1.155 MB / 0.7958 GB, free: 356 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004499/0.1781, allocations: 311.7 kB / 0.7961 GB, free: 44 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1781, allocations: 0 / 0.7961 GB, free: 44 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.1783, allocations: 131.8 kB / 0.7963 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.1786, allocations: 43.47 kB / 0.7963 GB, free: 15.88 MB / 0.6231 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.002527/0.1811, allocations: 2.6 MB / 0.7988 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.1814, allocations: 0.7575 MB / 0.7996 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002977/0.1817, allocations: 142.9 kB / 0.7997 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.1818, allocations: 99.39 kB / 0.7998 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.1818, allocations: 0 / 0.7998 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 19.79/19.97, allocations: 5.863 MB / 0.8055 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002735/19.97, allocations: 278.3 kB / 0.8058 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/21.72, allocations: 0 / 0.8058 GB, free: 6.121 MB / 0.6231 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)