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.001106/0.001106, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001097/0.001097, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.098/1.098, allocations: 205.1 MB / 222 MB, free: 4.734 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.444/1.444, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001245/0.001245, allocations: 72.84 kB / 0.6709 GB, free: 26.53 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1544, allocations: 114.6 MB / 0.7828 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002624/0.1571, allocations: 1.91 MB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.1586, allocations: 1.468 MB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.431e-05/0.1587, allocations: 0 / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.1589, allocations: 27.84 kB / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.159, allocations: 62.62 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.1594, allocations: 138.6 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000222/0.1596, allocations: 253.4 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.976e-05/0.1597, allocations: 33.33 kB / 0.7866 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.502e-05/0.1598, allocations: 83.75 kB / 0.7867 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.1599, allocations: 95.7 kB / 0.7868 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.16, allocations: 12 kB / 0.7868 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.1601, allocations: 71.95 kB / 0.7868 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.275e-05/0.1602, allocations: 79.75 kB / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.709e-05/0.1603, allocations: 115.2 kB / 0.787 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.1606, allocations: 295.1 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1606, allocations: 3.984 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.52e-07/0.1606, allocations: 0 / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.616e-06/0.1606, allocations: 0 / 0.7873 GB, free: 9.227 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.0006378/0.1612, allocations: 0.5616 MB / 0.7879 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.825e-05/0.1613, allocations: 8.031 kB / 0.7879 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.182e-05/0.1613, allocations: 54.73 kB / 0.7879 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.1615, allocations: 28.66 kB / 0.788 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.1617, allocations: 270.7 kB / 0.7882 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.1617, allocations: 20.14 kB / 0.7882 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.1617, allocations: 19.94 kB / 0.7882 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003268/0.1621, allocations: 233.4 kB / 0.7885 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.1621, allocations: 0 / 0.7885 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.1621, allocations: 12 kB / 0.7885 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1621, allocations: 4 kB / 0.7885 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007408/0.1629, allocations: 0.7488 MB / 0.7892 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008524/0.1637, allocations: 0.6254 MB / 0.7898 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.1642, allocations: 302 kB / 0.7901 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.1643, allocations: 113.4 kB / 0.7902 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.67e-05/0.1644, allocations: 24.17 kB / 0.7902 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002754/0.1647, allocations: 187.3 kB / 0.7904 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=35): time 1.453e-06/0.1647, allocations: 0 / 0.7904 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.00057/0.1652, allocations: 371.7 kB / 0.7908 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.1653, allocations: 136.4 kB / 0.7909 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.1655, allocations: 313 kB / 0.7912 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.1656, allocations: 33.64 kB / 0.7912 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.74e-05/0.1656, allocations: 136.6 kB / 0.7914 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.172e-05/0.1657, allocations: 114.2 kB / 0.7915 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.907e-05/0.1658, allocations: 69.69 kB / 0.7915 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.986e-05/0.1659, allocations: 342.8 kB / 0.7919 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.166, allocations: 79.95 kB / 0.792 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.1662, allocations: 127.5 kB / 0.7921 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002911/0.1665, allocations: 209.2 kB / 0.7923 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1665, allocations: 7.922 kB / 0.7923 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003917/0.1669, allocations: 281 kB / 0.7925 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.1669, allocations: 14.59 kB / 0.7926 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1669, allocations: 0 / 0.7926 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.1669, allocations: 7.938 kB / 0.7926 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.1671, allocations: 55.97 kB / 0.7926 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.1672, allocations: 3.938 kB / 0.7926 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.1673, allocations: 31.73 kB / 0.7927 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.1673, allocations: 12 kB / 0.7927 GB, free: 3.461 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.0001228/0.1675, allocations: 161.8 kB / 0.7928 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/0.1675, allocations: 27.72 kB / 0.7928 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005722/0.1681, allocations: 392.5 kB / 0.7932 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1681, allocations: 4 kB / 0.7932 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1681, allocations: 0 / 0.7932 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1681, allocations: 0 / 0.7932 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.1684, allocations: 349.2 kB / 0.7936 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1684, allocations: 0 / 0.7936 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.1686, allocations: 59.91 kB / 0.7936 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1686, allocations: 4 kB / 0.7936 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.1686, allocations: 15.94 kB / 0.7936 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.1686, allocations: 4 kB / 0.7936 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1686, allocations: 3.984 kB / 0.7936 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.169, allocations: 322.1 kB / 0.794 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.1691, allocations: 140.7 kB / 0.7941 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.1692, allocations: 15.92 kB / 0.7941 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.1694, allocations: 23.98 kB / 0.7941 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.1694, allocations: 19.97 kB / 0.7941 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.1694, allocations: 19.98 kB / 0.7942 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000168/0.1696, allocations: 236.4 kB / 0.7944 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1696, allocations: 0 / 0.7944 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002603/0.1699, allocations: 71.84 kB / 0.7945 GB, free: 1.527 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.001282/0.1712, allocations: 1.16 MB / 0.7956 GB, free: 500 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003253/0.1715, allocations: 232.1 kB / 0.7958 GB, free: 268 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1715, allocations: 4 kB / 0.7958 GB, free: 264 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.1717, allocations: 127.8 kB / 0.7959 GB, free: 136 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.1719, allocations: 36.42 kB / 0.796 GB, free: 100 kB / 0.6075 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.002485/0.1744, allocations: 2.594 MB / 0.7985 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.1747, allocations: 0.7655 MB / 0.7992 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002759/0.175, allocations: 134.9 kB / 0.7994 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.1751, allocations: 103.4 kB / 0.7995 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of SimCode: time 1.322e-06/0.1751, allocations: 0 / 0.7995 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 27.85/28.03, allocations: 5.732 MB / 0.8051 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003244/28.03, allocations: 277.9 kB / 0.8053 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/29.66, allocations: 5.75 kB / 0.8053 GB, free: 6.469 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)