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.00104/0.00104, 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.001072/0.001072, allocations: 196.9 kB / 16.26 MB, free: 6.621 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.279/1.279, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001984/0.001984, allocations: 278.8 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9391/0.9391, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 99.11 kB / 0.5948 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1412, allocations: 86.98 MB / 0.6797 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002789/0.144, allocations: 1.933 MB / 0.6816 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.1459, allocations: 1.549 MB / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.1459, allocations: 0 / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001817/0.1461, allocations: 23.86 kB / 0.6832 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.1464, allocations: 67.67 kB / 0.6832 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/0.1467, allocations: 157.8 kB / 0.6834 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.147, allocations: 277.4 kB / 0.6836 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.1471, allocations: 33.11 kB / 0.6837 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.844e-05/0.1472, allocations: 91.81 kB / 0.6838 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.1474, allocations: 115.6 kB / 0.6839 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.1474, allocations: 20 kB / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.1475, allocations: 87.97 kB / 0.684 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.286e-05/0.1476, allocations: 87.8 kB / 0.6841 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.974e-05/0.1477, allocations: 127.2 kB / 0.6842 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.148, allocations: 315 kB / 0.6845 GB, free: 12.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.148, allocations: 0 / 0.6845 GB, free: 12.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.083e-06/0.148, allocations: 0 / 0.6845 GB, free: 12.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1481, allocations: 0 / 0.6845 GB, free: 12.07 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.0006484/0.1487, allocations: 0.5675 MB / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.1487, allocations: 8.031 kB / 0.685 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.211e-05/0.1488, allocations: 54.73 kB / 0.6851 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.1489, allocations: 32.56 kB / 0.6851 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.1492, allocations: 278.7 kB / 0.6854 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.1492, allocations: 16.38 kB / 0.6854 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.1492, allocations: 19.94 kB / 0.6854 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.1496, allocations: 236.9 kB / 0.6857 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.1496, allocations: 7.984 kB / 0.6857 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.1497, allocations: 4 kB / 0.6857 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1497, allocations: 4 kB / 0.6857 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008099/0.1505, allocations: 0.7529 MB / 0.6864 GB, free: 9.996 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008734/0.1514, allocations: 0.6447 MB / 0.687 GB, free: 9.297 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004429/0.1518, allocations: 306 kB / 0.6873 GB, free: 8.992 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.152, allocations: 109.4 kB / 0.6874 GB, free: 8.883 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.802e-05/0.152, allocations: 16.25 kB / 0.6874 GB, free: 8.867 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002958/0.1523, allocations: 188.5 kB / 0.6876 GB, free: 8.672 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.572e-06/0.1523, allocations: 0 / 0.6876 GB, free: 8.672 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006003/0.1529, allocations: 373.5 kB / 0.688 GB, free: 8.301 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.153, allocations: 136.5 kB / 0.6881 GB, free: 8.137 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.1533, allocations: 313 kB / 0.6884 GB, free: 7.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.1533, allocations: 29.7 kB / 0.6884 GB, free: 7.785 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.372e-05/0.1534, allocations: 136.6 kB / 0.6886 GB, free: 7.648 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.89e-05/0.1535, allocations: 114.3 kB / 0.6887 GB, free: 7.535 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.667e-05/0.1536, allocations: 69.62 kB / 0.6887 GB, free: 7.461 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.1537, allocations: 334.8 kB / 0.6891 GB, free: 7.125 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.1538, allocations: 87.75 kB / 0.6891 GB, free: 7.039 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.154, allocations: 131.4 kB / 0.6893 GB, free: 6.898 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.1543, allocations: 218.3 kB / 0.6895 GB, free: 6.684 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1543, allocations: 0 / 0.6895 GB, free: 6.684 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004072/0.1547, allocations: 277.1 kB / 0.6897 GB, free: 6.406 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.1547, allocations: 7.938 kB / 0.6898 GB, free: 6.398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.1547, allocations: 0 / 0.6898 GB, free: 6.398 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.1548, allocations: 4 kB / 0.6898 GB, free: 6.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.155, allocations: 67.89 kB / 0.6898 GB, free: 6.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.155, allocations: 0 / 0.6898 GB, free: 6.328 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.1551, allocations: 31.78 kB / 0.6898 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.1552, allocations: 19.98 kB / 0.6899 GB, free: 6.277 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.0001312/0.1553, allocations: 159.1 kB / 0.69 GB, free: 6.113 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-05/0.1554, allocations: 31.56 kB / 0.6901 GB, free: 6.082 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006217/0.156, allocations: 388.8 kB / 0.6904 GB, free: 5.688 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.156, allocations: 4 kB / 0.6904 GB, free: 5.684 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.156, allocations: 4 kB / 0.6904 GB, free: 5.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.156, allocations: 3.984 kB / 0.6904 GB, free: 5.676 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.1563, allocations: 349.1 kB / 0.6908 GB, free: 5.285 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1563, allocations: 4 kB / 0.6908 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.1565, allocations: 51.92 kB / 0.6908 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.1565, allocations: 7.922 kB / 0.6908 GB, free: 5.223 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.1565, allocations: 12 kB / 0.6908 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1565, allocations: 0 / 0.6908 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1566, allocations: 0 / 0.6908 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/0.157, allocations: 325.6 kB / 0.6911 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.1571, allocations: 144.7 kB / 0.6913 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.589e-05/0.1572, allocations: 11.94 kB / 0.6913 GB, free: 4.703 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.1574, allocations: 27.91 kB / 0.6913 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.1574, allocations: 23.97 kB / 0.6913 GB, free: 4.652 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.1574, allocations: 16.03 kB / 0.6914 GB, free: 4.637 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001786/0.1576, allocations: 236.5 kB / 0.6916 GB, free: 4.406 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1576, allocations: 4 kB / 0.6916 GB, free: 4.402 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000271/0.1579, allocations: 67.98 kB / 0.6917 GB, free: 4.336 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.001399/0.1593, allocations: 1.17 MB / 0.6928 GB, free: 3.285 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004765/0.1598, allocations: 303.6 kB / 0.6931 GB, free: 2.988 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.1598, allocations: 4 kB / 0.6931 GB, free: 2.984 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.16, allocations: 131.8 kB / 0.6932 GB, free: 2.855 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.1603, allocations: 39.61 kB / 0.6933 GB, free: 2.82 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.002654/0.1629, allocations: 2.598 MB / 0.6958 GB, free: 144 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.1632, allocations: 0.7614 MB / 0.6965 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003056/0.1635, allocations: 146.8 kB / 0.6967 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.1637, allocations: 99.39 kB / 0.6968 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1637, allocations: 0 / 0.6968 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.762/3.926, allocations: 5.898 MB / 0.7025 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004041/3.927, allocations: 302.7 kB / 0.7028 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/5.783, allocations: 0 / 0.7028 GB, free: 9.062 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)