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.001033/0.001033, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001147/0.001147, allocations: 193.1 kB / 16.14 MB, free: 6.727 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.399/1.399, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001982/0.001982, allocations: 279.1 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9303/0.9303, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 93.92 kB / 0.5945 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1518, allocations: 86.99 MB / 0.6794 GB, free: 1.133 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002984/0.1549, allocations: 1.929 MB / 0.6813 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.1568, allocations: 1.538 MB / 0.6828 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.591e-05/0.1569, allocations: 0.5938 kB / 0.6828 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.1571, allocations: 27.84 kB / 0.6829 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.1573, allocations: 65.11 kB / 0.6829 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000392/0.1577, allocations: 158.1 kB / 0.6831 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.158, allocations: 267.3 kB / 0.6833 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1581, allocations: 29.06 kB / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.023e-05/0.1582, allocations: 87.75 kB / 0.6834 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.1584, allocations: 113.1 kB / 0.6835 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.1585, allocations: 8 kB / 0.6836 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.1586, allocations: 75.97 kB / 0.6836 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.976e-05/0.1587, allocations: 79.73 kB / 0.6837 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.1589, allocations: 111.3 kB / 0.6838 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003047/0.1592, allocations: 307 kB / 0.6841 GB, free: 12.37 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1592, allocations: 0 / 0.6841 GB, free: 12.37 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1592, allocations: 4 kB / 0.6841 GB, free: 12.36 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1592, allocations: 0 / 0.6841 GB, free: 12.36 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.0007448/0.1599, allocations: 0.5578 MB / 0.6846 GB, free: 11.76 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.16, allocations: 16.02 kB / 0.6847 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.1601, allocations: 32.56 kB / 0.6847 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.1604, allocations: 270.7 kB / 0.685 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1604, allocations: 12.38 kB / 0.685 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.1605, allocations: 20.12 kB / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003727/0.1609, allocations: 240.9 kB / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.1609, allocations: 0 / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.1609, allocations: 8 kB / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1609, allocations: 4 kB / 0.6852 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008356/0.1618, allocations: 0.7529 MB / 0.686 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009568/0.1627, allocations: 0.6369 MB / 0.6866 GB, free: 9.668 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004761/0.1632, allocations: 306 kB / 0.6869 GB, free: 9.363 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.1634, allocations: 109.4 kB / 0.687 GB, free: 9.254 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.346e-05/0.1634, allocations: 20.25 kB / 0.687 GB, free: 9.234 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003384/0.1638, allocations: 188.5 kB / 0.6872 GB, free: 9.039 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 2.044e-06/0.1638, allocations: 0 / 0.6872 GB, free: 9.039 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006589/0.1645, allocations: 381.5 kB / 0.6875 GB, free: 8.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/0.1645, allocations: 132.5 kB / 0.6877 GB, free: 8.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.1648, allocations: 309 kB / 0.688 GB, free: 8.188 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.1649, allocations: 37.7 kB / 0.688 GB, free: 8.145 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.238e-05/0.165, allocations: 136.6 kB / 0.6881 GB, free: 8.008 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.027e-05/0.1651, allocations: 110.4 kB / 0.6882 GB, free: 7.898 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-05/0.1651, allocations: 65.69 kB / 0.6883 GB, free: 7.828 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1653, allocations: 334.8 kB / 0.6886 GB, free: 7.492 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.1654, allocations: 83.81 kB / 0.6887 GB, free: 7.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.1656, allocations: 135.3 kB / 0.6888 GB, free: 7.266 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.166, allocations: 214.3 kB / 0.689 GB, free: 7.055 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.166, allocations: 4 kB / 0.689 GB, free: 7.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004468/0.1664, allocations: 285.1 kB / 0.6893 GB, free: 6.766 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1664, allocations: 4 kB / 0.6893 GB, free: 6.762 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1665, allocations: 3.938 kB / 0.6893 GB, free: 6.758 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1665, allocations: 7.938 kB / 0.6893 GB, free: 6.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.1667, allocations: 67.84 kB / 0.6894 GB, free: 6.684 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1667, allocations: 4 kB / 0.6894 GB, free: 6.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.1669, allocations: 23.83 kB / 0.6894 GB, free: 6.656 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.1669, allocations: 12 kB / 0.6894 GB, free: 6.645 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.0001734/0.1671, allocations: 171 kB / 0.6896 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.1672, allocations: 35.62 kB / 0.6896 GB, free: 6.434 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000665/0.1678, allocations: 384.8 kB / 0.69 GB, free: 6.043 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1678, allocations: 4 kB / 0.69 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1679, allocations: 0 / 0.69 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1679, allocations: 0 / 0.69 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.1682, allocations: 349.1 kB / 0.6903 GB, free: 5.648 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1682, allocations: 4 kB / 0.6903 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.1684, allocations: 59.91 kB / 0.6904 GB, free: 5.586 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1684, allocations: 0 / 0.6904 GB, free: 5.586 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.1684, allocations: 11.94 kB / 0.6904 GB, free: 5.574 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1684, allocations: 4 kB / 0.6904 GB, free: 5.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1684, allocations: 3.984 kB / 0.6904 GB, free: 5.566 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000457/0.1689, allocations: 313.7 kB / 0.6907 GB, free: 5.242 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.169, allocations: 148.6 kB / 0.6908 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.1691, allocations: 15.92 kB / 0.6909 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.1693, allocations: 23.98 kB / 0.6909 GB, free: 5.039 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.1693, allocations: 19.97 kB / 0.6909 GB, free: 5.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.1694, allocations: 23.98 kB / 0.6909 GB, free: 4.996 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000209/0.1696, allocations: 236.4 kB / 0.6912 GB, free: 4.766 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1696, allocations: 0 / 0.6912 GB, free: 4.766 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002957/0.1699, allocations: 68 kB / 0.6912 GB, free: 4.699 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.0008778/0.1708, allocations: 411 kB / 0.6916 GB, free: 4.438 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003842/0.1712, allocations: 232.1 kB / 0.6918 GB, free: 4.211 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1712, allocations: 0 / 0.6918 GB, free: 4.211 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.1714, allocations: 131.8 kB / 0.692 GB, free: 4.082 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.1717, allocations: 46.44 kB / 0.692 GB, free: 4.039 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008313/0.1725, allocations: 0.6182 MB / 0.6926 GB, free: 3.402 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.1728, allocations: 0.7653 MB / 0.6934 GB, free: 2.613 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003073/0.1732, allocations: 146.9 kB / 0.6935 GB, free: 2.469 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.286e-05/0.1733, allocations: 39.42 kB / 0.6935 GB, free: 2.43 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1733, allocations: 0 / 0.6935 GB, free: 2.43 MB / 494.1 MB Notification: Performance of Templates: time 0.006525/0.1798, allocations: 3.287 MB / 0.6967 GB, free: 15.2 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)