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.001136/0.001136, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001011/0.001012, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001715/0.001715, allocations: 263 kB / 291.3 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9333/0.9333, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004263/0.0004265, allocations: 17.75 kB / 0.598 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1557, allocations: 88.55 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002125/0.1579, allocations: 1.555 MB / 0.686 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.1599, allocations: 1.461 MB / 0.6874 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.828e-05/0.16, allocations: 0.5625 kB / 0.6874 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002098/0.1602, allocations: 23.84 kB / 0.6875 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.1604, allocations: 60.91 kB / 0.6875 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.1608, allocations: 161.1 kB / 0.6877 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002656/0.1611, allocations: 241.3 kB / 0.6879 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1612, allocations: 26.8 kB / 0.6879 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.101e-05/0.1613, allocations: 84.95 kB / 0.688 GB, free: 11.83 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.1615, allocations: 97.59 kB / 0.6881 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.1615, allocations: 12 kB / 0.6881 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.1617, allocations: 56.58 kB / 0.6882 GB, free: 11.67 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.859e-05/0.1618, allocations: 81.8 kB / 0.6882 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.836e-05/0.1618, allocations: 61.58 kB / 0.6883 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.1621, allocations: 231.5 kB / 0.6885 GB, free: 11.3 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1621, allocations: 0 / 0.6885 GB, free: 11.3 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1621, allocations: 0 / 0.6885 GB, free: 11.3 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1621, allocations: 0 / 0.6885 GB, free: 11.3 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.0007248/0.1629, allocations: 0.5007 MB / 0.689 GB, free: 10.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1629, allocations: 10.38 kB / 0.689 GB, free: 10.74 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.1631, allocations: 35.61 kB / 0.689 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.1634, allocations: 277.4 kB / 0.6893 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.1634, allocations: 12 kB / 0.6893 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.1634, allocations: 16 kB / 0.6893 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.1638, allocations: 235.1 kB / 0.6896 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.1638, allocations: 0 / 0.6896 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.1639, allocations: 8 kB / 0.6896 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1639, allocations: 4 kB / 0.6896 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008887/0.1648, allocations: 0.7498 MB / 0.6903 GB, free: 9.363 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.1658, allocations: 0.6542 MB / 0.6909 GB, free: 8.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004697/0.1663, allocations: 302.7 kB / 0.6912 GB, free: 8.359 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.1665, allocations: 121.3 kB / 0.6914 GB, free: 8.238 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.449e-05/0.1665, allocations: 16.25 kB / 0.6914 GB, free: 8.223 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003286/0.1668, allocations: 180.6 kB / 0.6915 GB, free: 8.035 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.603e-06/0.1669, allocations: 0 / 0.6915 GB, free: 8.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006213/0.1675, allocations: 369.5 kB / 0.6919 GB, free: 7.668 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.488e-05/0.1676, allocations: 136.5 kB / 0.692 GB, free: 7.504 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.1678, allocations: 305 kB / 0.6923 GB, free: 7.195 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.1679, allocations: 37.7 kB / 0.6923 GB, free: 7.152 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.168, allocations: 132.7 kB / 0.6925 GB, free: 7.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.232e-05/0.1681, allocations: 118.3 kB / 0.6926 GB, free: 6.902 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.421e-05/0.1681, allocations: 8 kB / 0.6926 GB, free: 6.895 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1682, allocations: 338.8 kB / 0.6929 GB, free: 6.555 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.1684, allocations: 79.95 kB / 0.693 GB, free: 6.477 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.1685, allocations: 127.2 kB / 0.6931 GB, free: 6.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.1687, allocations: 109.7 kB / 0.6932 GB, free: 6.234 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1687, allocations: 0 / 0.6932 GB, free: 6.234 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004327/0.1692, allocations: 288.8 kB / 0.6935 GB, free: 5.945 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1692, allocations: 4 kB / 0.6935 GB, free: 5.941 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1692, allocations: 3.984 kB / 0.6935 GB, free: 5.938 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1692, allocations: 0 / 0.6935 GB, free: 5.938 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.1695, allocations: 67.95 kB / 0.6936 GB, free: 5.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.1695, allocations: 3.984 kB / 0.6936 GB, free: 5.867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.1696, allocations: 31.83 kB / 0.6936 GB, free: 5.836 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.1697, allocations: 15.98 kB / 0.6936 GB, free: 5.82 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001693/0.1698, allocations: 166.3 kB / 0.6938 GB, free: 5.648 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.1699, allocations: 31.58 kB / 0.6938 GB, free: 5.617 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006565/0.1705, allocations: 388.6 kB / 0.6942 GB, free: 5.223 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1706, allocations: 4 kB / 0.6942 GB, free: 5.219 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1706, allocations: 4 kB / 0.6942 GB, free: 5.215 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.1706, allocations: 3.984 kB / 0.6942 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.1709, allocations: 341.2 kB / 0.6945 GB, free: 4.828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.1709, allocations: 3.984 kB / 0.6945 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.1711, allocations: 55.92 kB / 0.6946 GB, free: 4.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1711, allocations: 0 / 0.6946 GB, free: 4.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.1711, allocations: 19.94 kB / 0.6946 GB, free: 4.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.1712, allocations: 4 kB / 0.6946 GB, free: 4.746 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1712, allocations: 0 / 0.6946 GB, free: 4.746 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/0.1716, allocations: 337.9 kB / 0.6949 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.1717, allocations: 140.7 kB / 0.6951 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.1718, allocations: 8 kB / 0.6951 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.1719, allocations: 34.56 kB / 0.6951 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.172, allocations: 27.97 kB / 0.6951 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.172, allocations: 11.98 kB / 0.6951 GB, free: 4.164 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002111/0.1723, allocations: 240.4 kB / 0.6954 GB, free: 3.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1723, allocations: 0 / 0.6954 GB, free: 3.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003069/0.1726, allocations: 67.91 kB / 0.6954 GB, free: 3.863 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000935/0.1735, allocations: 417 kB / 0.6958 GB, free: 3.598 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003575/0.1739, allocations: 223.7 kB / 0.696 GB, free: 3.379 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1739, allocations: 0 / 0.696 GB, free: 3.379 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.1741, allocations: 132.7 kB / 0.6962 GB, free: 3.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.1744, allocations: 40.42 kB / 0.6962 GB, free: 3.211 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008705/0.1753, allocations: 0.6007 MB / 0.6968 GB, free: 2.586 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.1756, allocations: 0.7575 MB / 0.6975 GB, free: 1.805 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003404/0.176, allocations: 146.9 kB / 0.6977 GB, free: 1.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.067e-05/0.1761, allocations: 43.36 kB / 0.6977 GB, free: 1.617 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1761, allocations: 0 / 0.6977 GB, free: 1.617 MB / 494.1 MB Notification: Performance of Templates: time 0.006476/0.1826, allocations: 3.171 MB / 0.7008 GB, free: 14.51 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)