Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.005389/0.005389, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001048/0.001048, allocations: 195.6 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2601/0.2601, allocations: 54.97 MB / 324.9 MB, free: 4.855 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 80.77 kB / 456.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1488, allocations: 59.59 MB / 0.5037 GB, free: 7.082 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004555/0.1534, allocations: 1.799 MB / 0.5055 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.1559, allocations: 1.41 MB / 0.5068 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.1561, allocations: 0 / 0.5068 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.1564, allocations: 31.78 kB / 0.5069 GB, free: 3.824 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003358/0.1568, allocations: 51.64 kB / 0.5069 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.1573, allocations: 127.5 kB / 0.507 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000356/0.1576, allocations: 249.5 kB / 0.5073 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.1578, allocations: 39.91 kB / 0.5073 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.1579, allocations: 83.81 kB / 0.5074 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.1582, allocations: 87.73 kB / 0.5075 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.637e-05/0.1583, allocations: 20 kB / 0.5075 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.1585, allocations: 67.95 kB / 0.5076 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.1586, allocations: 83.81 kB / 0.5077 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.1587, allocations: 115.3 kB / 0.5078 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004487/0.1592, allocations: 295 kB / 0.508 GB, free: 2.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1592, allocations: 0 / 0.508 GB, free: 2.629 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1592, allocations: 0 / 0.508 GB, free: 2.629 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.1592, allocations: 0 / 0.508 GB, free: 2.629 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009166/0.1601, allocations: 0.5457 MB / 0.5086 GB, free: 2.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.1602, allocations: 12.03 kB / 0.5086 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/0.1604, allocations: 32.66 kB / 0.5086 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.1607, allocations: 271.4 kB / 0.5089 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.1608, allocations: 12 kB / 0.5089 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.1608, allocations: 19.94 kB / 0.5089 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.1612, allocations: 215 kB / 0.5091 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.1612, allocations: 0 / 0.5091 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.1613, allocations: 7.938 kB / 0.5091 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.1613, allocations: 8 kB / 0.5091 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008726/0.1622, allocations: 0.7412 MB / 0.5099 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009931/0.1632, allocations: 0.5864 MB / 0.5104 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005181/0.1637, allocations: 310.6 kB / 0.5107 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.1639, allocations: 105.4 kB / 0.5108 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.246e-05/0.164, allocations: 28.19 kB / 0.5108 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004021/0.1644, allocations: 184.9 kB / 0.511 GB, free: 15.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 2.084e-06/0.1644, allocations: 0 / 0.511 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006978/0.1651, allocations: 376.7 kB / 0.5114 GB, free: 15.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/0.1652, allocations: 81.11 kB / 0.5115 GB, free: 14.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.1655, allocations: 296.8 kB / 0.5117 GB, free: 14.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.1655, allocations: 29.7 kB / 0.5118 GB, free: 14.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.673e-05/0.1656, allocations: 132.7 kB / 0.5119 GB, free: 14.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.1657, allocations: 114.3 kB / 0.512 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.463e-05/0.1658, allocations: 61.69 kB / 0.5121 GB, free: 14.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.166, allocations: 342.8 kB / 0.5124 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.1661, allocations: 79.95 kB / 0.5125 GB, free: 13.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.1663, allocations: 106.8 kB / 0.5126 GB, free: 13.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.1666, allocations: 221 kB / 0.5128 GB, free: 13.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1666, allocations: 0 / 0.5128 GB, free: 13.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000431/0.1671, allocations: 273 kB / 0.513 GB, free: 13.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.1671, allocations: 11.94 kB / 0.5131 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1671, allocations: 0 / 0.5131 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.1671, allocations: 4.031 kB / 0.5131 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.1674, allocations: 59.91 kB / 0.5131 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.1674, allocations: 4 kB / 0.5131 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.269e-05/0.1675, allocations: 15.84 kB / 0.5131 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.1675, allocations: 15.98 kB / 0.5132 GB, free: 13.15 MB / 414.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.tStart,$PRE.conTim.tStart,$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.0001725/0.1677, allocations: 161.8 kB / 0.5133 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.1677, allocations: 31.56 kB / 0.5133 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.283e-05/0.1678, allocations: 42.64 kB / 0.5134 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.1679, allocations: 7.984 kB / 0.5134 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.1679, allocations: 3.938 kB / 0.5134 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1679, allocations: 4 kB / 0.5134 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003634/0.1682, allocations: 333.3 kB / 0.5137 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.1683, allocations: 0 / 0.5137 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.1684, allocations: 55.91 kB / 0.5138 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.1685, allocations: 7.938 kB / 0.5138 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.1685, allocations: 8 kB / 0.5138 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/0.1685, allocations: 0 / 0.5138 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1685, allocations: 4 kB / 0.5138 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004968/0.169, allocations: 324.7 kB / 0.5141 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.1692, allocations: 148.6 kB / 0.5142 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.1692, allocations: 8 kB / 0.5142 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.1694, allocations: 15.98 kB / 0.5143 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.181e-05/0.1694, allocations: 23.97 kB / 0.5143 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.1695, allocations: 15.98 kB / 0.5143 GB, free: 11.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002319/0.1697, allocations: 237.5 kB / 0.5145 GB, free: 11.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1697, allocations: 0 / 0.5145 GB, free: 11.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003206/0.17, allocations: 55.91 kB / 0.5146 GB, free: 11.6 MB / 414.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.tStart) * Number of discrete states: 1 (conTim.tStart) * 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.00102/0.1711, allocations: 412 kB / 0.515 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004187/0.1715, allocations: 223.7 kB / 0.5152 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.1715, allocations: 0 / 0.5152 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.1717, allocations: 136.6 kB / 0.5153 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.172, allocations: 42.39 kB / 0.5153 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008599/0.1729, allocations: 0.51 MB / 0.5158 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.1733, allocations: 0.7657 MB / 0.5166 GB, free: 9.637 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003338/0.1736, allocations: 142.9 kB / 0.5167 GB, free: 9.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.137e-05/0.1737, allocations: 39.42 kB / 0.5168 GB, free: 9.461 MB / 414.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1737, allocations: 0 / 0.5168 GB, free: 9.461 MB / 414.1 MB Notification: Performance of Templates: time 0.007658/0.1814, allocations: 3.009 MB / 0.5197 GB, free: 6.508 MB / 414.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)