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.001117/0.001117, 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.001145/0.001145, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002133/0.002133, allocations: 290.8 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9313/0.9313, allocations: 169.2 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 93.22 kB / 0.5953 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1463, allocations: 86.98 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003165/0.1495, allocations: 1.878 MB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.1516, allocations: 1.586 MB / 0.6837 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.807e-05/0.1517, allocations: 0 / 0.6837 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001923/0.1519, allocations: 23.8 kB / 0.6837 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002989/0.1522, allocations: 83.53 kB / 0.6838 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.1527, allocations: 162.6 kB / 0.6839 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003145/0.153, allocations: 277.4 kB / 0.6842 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1531, allocations: 33.09 kB / 0.6842 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.1533, allocations: 103.7 kB / 0.6843 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.1535, allocations: 107.6 kB / 0.6844 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.398e-05/0.1535, allocations: 20 kB / 0.6844 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.1537, allocations: 95.95 kB / 0.6845 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.97e-05/0.1538, allocations: 79.8 kB / 0.6846 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.154, allocations: 127.3 kB / 0.6847 GB, free: 12.03 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003853/0.1544, allocations: 327 kB / 0.685 GB, free: 11.71 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1544, allocations: 0 / 0.685 GB, free: 11.71 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1544, allocations: 0 / 0.685 GB, free: 11.71 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.872e-06/0.1544, allocations: 0 / 0.685 GB, free: 11.71 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.000748/0.1551, allocations: 0.5555 MB / 0.6856 GB, free: 11.11 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.1552, allocations: 12.03 kB / 0.6856 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.677e-05/0.1552, allocations: 54.73 kB / 0.6856 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.1554, allocations: 32.56 kB / 0.6857 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.1557, allocations: 274.7 kB / 0.6859 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.1557, allocations: 16.38 kB / 0.686 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.1557, allocations: 23.94 kB / 0.686 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/0.1561, allocations: 236.9 kB / 0.6862 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1561, allocations: 0 / 0.6862 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.1562, allocations: 12 kB / 0.6862 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1562, allocations: 4 kB / 0.6862 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008154/0.157, allocations: 0.749 MB / 0.687 GB, free: 9.645 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.158, allocations: 0.6446 MB / 0.6876 GB, free: 8.945 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004719/0.1585, allocations: 313.9 kB / 0.6879 GB, free: 8.633 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.1587, allocations: 105.4 kB / 0.688 GB, free: 8.527 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.455e-05/0.1587, allocations: 24.25 kB / 0.688 GB, free: 8.504 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003271/0.1591, allocations: 176.6 kB / 0.6882 GB, free: 8.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.773e-06/0.1591, allocations: 0 / 0.6882 GB, free: 8.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006478/0.1597, allocations: 377.5 kB / 0.6885 GB, free: 7.945 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/0.1598, allocations: 140.4 kB / 0.6887 GB, free: 7.777 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.1601, allocations: 309 kB / 0.689 GB, free: 7.465 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.1602, allocations: 37.7 kB / 0.689 GB, free: 7.422 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.116e-05/0.1602, allocations: 128.6 kB / 0.6891 GB, free: 7.293 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.843e-05/0.1603, allocations: 118.3 kB / 0.6892 GB, free: 7.176 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.389e-05/0.1604, allocations: 65.69 kB / 0.6893 GB, free: 7.105 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1605, allocations: 338.8 kB / 0.6896 GB, free: 6.766 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.1607, allocations: 83.81 kB / 0.6897 GB, free: 6.684 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.1609, allocations: 127.4 kB / 0.6898 GB, free: 6.547 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.1612, allocations: 214.3 kB / 0.69 GB, free: 6.336 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1612, allocations: 0 / 0.69 GB, free: 6.336 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004357/0.1616, allocations: 289 kB / 0.6903 GB, free: 6.047 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1617, allocations: 7.938 kB / 0.6903 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1617, allocations: 0 / 0.6903 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1617, allocations: 0 / 0.6903 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.1619, allocations: 71.89 kB / 0.6904 GB, free: 5.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1619, allocations: 0 / 0.6904 GB, free: 5.969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.1621, allocations: 35.81 kB / 0.6904 GB, free: 5.934 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.1621, allocations: 15.98 kB / 0.6904 GB, free: 5.918 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.0001508/0.1623, allocations: 163.1 kB / 0.6906 GB, free: 5.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.786e-05/0.1624, allocations: 35.56 kB / 0.6906 GB, free: 5.715 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006834/0.1631, allocations: 384.8 kB / 0.691 GB, free: 5.324 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1631, allocations: 8 kB / 0.691 GB, free: 5.316 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1631, allocations: 0 / 0.691 GB, free: 5.316 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.1631, allocations: 3.984 kB / 0.691 GB, free: 5.312 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/0.1634, allocations: 341.2 kB / 0.6913 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1634, allocations: 3.984 kB / 0.6913 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.1636, allocations: 55.92 kB / 0.6914 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1636, allocations: 3.938 kB / 0.6914 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.1636, allocations: 11.98 kB / 0.6914 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1636, allocations: 4 kB / 0.6914 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1636, allocations: 0 / 0.6914 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/0.1642, allocations: 333.6 kB / 0.6917 GB, free: 4.508 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.1643, allocations: 140.7 kB / 0.6918 GB, free: 4.352 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.1643, allocations: 11.94 kB / 0.6919 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.1645, allocations: 23.97 kB / 0.6919 GB, free: 4.316 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.1646, allocations: 19.97 kB / 0.6919 GB, free: 4.297 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.1646, allocations: 19.98 kB / 0.6919 GB, free: 4.277 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001895/0.1648, allocations: 232.5 kB / 0.6921 GB, free: 4.051 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1648, allocations: 4 kB / 0.6921 GB, free: 4.047 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002861/0.1651, allocations: 67.98 kB / 0.6922 GB, free: 3.98 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.00149/0.1666, allocations: 1.174 MB / 0.6934 GB, free: 2.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00053/0.1672, allocations: 303.6 kB / 0.6936 GB, free: 2.633 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1672, allocations: 0 / 0.6936 GB, free: 2.633 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.1674, allocations: 135.8 kB / 0.6938 GB, free: 2.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.1676, allocations: 44.81 kB / 0.6938 GB, free: 2.461 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.002833/0.1705, allocations: 2.512 MB / 0.6963 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.1708, allocations: 0.7614 MB / 0.697 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003083/0.1711, allocations: 142.9 kB / 0.6972 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.1713, allocations: 99.39 kB / 0.6972 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1714, allocations: 0 / 0.6972 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 13.57/13.74, allocations: 5.989 MB / 0.7031 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.088/20.83, allocations: 22.59 kB / 0.7031 GB, free: 9.043 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)