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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008151/0.008151, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.31/1.31, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001713/0.001713, allocations: 262.9 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9717/0.9717, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.0004028, allocations: 18.44 kB / 0.5987 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1482, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.001954/0.1502, allocations: 1.591 MB / 0.6867 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.1522, allocations: 1.522 MB / 0.6882 GB, free: 11.92 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.161e-05/0.1523, allocations: 0 / 0.6882 GB, free: 11.92 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.1525, allocations: 31.84 kB / 0.6882 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.1527, allocations: 60.27 kB / 0.6883 GB, free: 11.83 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.1531, allocations: 158.1 kB / 0.6884 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.1534, allocations: 257.9 kB / 0.6887 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1535, allocations: 35.58 kB / 0.6887 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.997e-05/0.1536, allocations: 79.83 kB / 0.6888 GB, free: 11.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.1538, allocations: 100.8 kB / 0.6889 GB, free: 11.22 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.1539, allocations: 8 kB / 0.6889 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.154, allocations: 71.95 kB / 0.6889 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.1e-05/0.1541, allocations: 76.36 kB / 0.689 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.1542, allocations: 137 kB / 0.6891 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003223/0.1546, allocations: 304 kB / 0.6894 GB, free: 10.63 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1546, allocations: 4 kB / 0.6894 GB, free: 10.63 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1546, allocations: 1.562 kB / 0.6894 GB, free: 10.63 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1546, allocations: 0 / 0.6894 GB, free: 10.63 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.0006988/0.1553, allocations: 0.5005 MB / 0.6899 GB, free: 10.08 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.1554, allocations: 8.031 kB / 0.6899 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.1555, allocations: 36.55 kB / 0.69 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.1558, allocations: 275.2 kB / 0.6902 GB, free: 9.734 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.1558, allocations: 14.59 kB / 0.6902 GB, free: 9.723 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.1559, allocations: 24.12 kB / 0.6903 GB, free: 9.699 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.1562, allocations: 236.9 kB / 0.6905 GB, free: 9.449 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1563, allocations: 0.5 kB / 0.6905 GB, free: 9.449 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.1563, allocations: 12.69 kB / 0.6905 GB, free: 9.438 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.1563, allocations: 4 kB / 0.6905 GB, free: 9.434 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008395/0.1571, allocations: 0.7534 MB / 0.6912 GB, free: 8.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009741/0.1581, allocations: 0.6558 MB / 0.6919 GB, free: 7.977 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004649/0.1586, allocations: 304.5 kB / 0.6922 GB, free: 7.676 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.1588, allocations: 109.4 kB / 0.6923 GB, free: 7.566 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.36e-05/0.1588, allocations: 20.25 kB / 0.6923 GB, free: 7.547 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003402/0.1592, allocations: 193.4 kB / 0.6925 GB, free: 7.348 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.764e-06/0.1592, allocations: 1.125 kB / 0.6925 GB, free: 7.348 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006379/0.1598, allocations: 377.5 kB / 0.6928 GB, free: 6.973 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.1599, allocations: 133.5 kB / 0.693 GB, free: 6.812 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.1602, allocations: 313 kB / 0.6933 GB, free: 6.496 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.1603, allocations: 30.23 kB / 0.6933 GB, free: 6.461 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.683e-05/0.1603, allocations: 140.6 kB / 0.6934 GB, free: 6.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.15e-05/0.1604, allocations: 106.4 kB / 0.6935 GB, free: 6.215 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.1605, allocations: 33.7 kB / 0.6936 GB, free: 6.176 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1606, allocations: 338.8 kB / 0.6939 GB, free: 5.836 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.1608, allocations: 79.95 kB / 0.694 GB, free: 5.758 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.161, allocations: 131.2 kB / 0.6941 GB, free: 5.617 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.1613, allocations: 218.3 kB / 0.6943 GB, free: 5.402 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1613, allocations: 4 kB / 0.6943 GB, free: 5.398 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000421/0.1617, allocations: 277.1 kB / 0.6946 GB, free: 5.121 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1617, allocations: 5.875 kB / 0.6946 GB, free: 5.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.1618, allocations: 7.938 kB / 0.6946 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1618, allocations: 0 / 0.6946 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.162, allocations: 63.91 kB / 0.6946 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.162, allocations: 0 / 0.6946 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.1622, allocations: 27.83 kB / 0.6947 GB, free: 5.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.1622, allocations: 11.98 kB / 0.6947 GB, free: 5.008 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.0001655/0.1624, allocations: 171 kB / 0.6948 GB, free: 4.832 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.1624, allocations: 31.62 kB / 0.6949 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006758/0.1631, allocations: 392.8 kB / 0.6952 GB, free: 4.402 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.1632, allocations: 4 kB / 0.6952 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1632, allocations: 0 / 0.6952 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.1632, allocations: 3.984 kB / 0.6953 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.1635, allocations: 341.3 kB / 0.6956 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1635, allocations: 3.938 kB / 0.6956 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.1637, allocations: 63.91 kB / 0.6956 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1637, allocations: 0 / 0.6956 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.1637, allocations: 15.92 kB / 0.6957 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.1637, allocations: 4 kB / 0.6957 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1637, allocations: 0 / 0.6957 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004257/0.1642, allocations: 321.6 kB / 0.696 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.1643, allocations: 156.5 kB / 0.6961 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.1644, allocations: 15.94 kB / 0.6961 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.1646, allocations: 30.61 kB / 0.6962 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.1646, allocations: 19.97 kB / 0.6962 GB, free: 3.359 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.1647, allocations: 19.98 kB / 0.6962 GB, free: 3.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002008/0.1649, allocations: 236.4 kB / 0.6964 GB, free: 3.109 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1649, allocations: 0 / 0.6964 GB, free: 3.109 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003085/0.1652, allocations: 68 kB / 0.6965 GB, free: 3.043 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.0009392/0.1661, allocations: 408.1 kB / 0.6969 GB, free: 2.785 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003824/0.1665, allocations: 236.1 kB / 0.6971 GB, free: 2.555 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1665, allocations: 0 / 0.6971 GB, free: 2.555 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.1667, allocations: 131.8 kB / 0.6972 GB, free: 2.426 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.1671, allocations: 44.36 kB / 0.6973 GB, free: 2.383 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000872/0.1679, allocations: 0.6395 MB / 0.6979 GB, free: 1.719 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.1682, allocations: 0.7575 MB / 0.6986 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003232/0.1686, allocations: 150.8 kB / 0.6988 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.001e-05/0.1687, allocations: 43.42 kB / 0.6988 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1687, allocations: 0 / 0.6988 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of Templates: time 0.006731/0.1754, allocations: 3.254 MB / 0.702 GB, free: 13.55 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)