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.006944/0.006945, allocations: 101.8 kB / 15.73 MB, free: 6.031 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.001372/0.001372, allocations: 194.4 kB / 16.67 MB, free: 5.969 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.471/1.471, allocations: 205.1 MB / 222.6 MB, free: 4.336 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4076/0.4076, allocations: 54.94 MB / 324.8 MB, free: 124 kB / 254.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.001436/0.001436, allocations: 66.66 kB / 456.3 MB, free: 38.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1141, allocations: 59.59 MB / 0.5038 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002845/0.117, allocations: 1.793 MB / 0.5056 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.1185, allocations: 1.406 MB / 0.5069 GB, free: 7.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.884e-05/0.1186, allocations: 5.406 kB / 0.5069 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.1188, allocations: 31.67 kB / 0.507 GB, free: 7.164 MB / 382.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.0001943/0.1191, allocations: 60.66 kB / 0.507 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.1194, allocations: 122.4 kB / 0.5071 GB, free: 7.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.1196, allocations: 247.6 kB / 0.5074 GB, free: 6.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1197, allocations: 29.36 kB / 0.5074 GB, free: 6.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.058e-05/0.1198, allocations: 82.48 kB / 0.5075 GB, free: 6.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.12, allocations: 96.52 kB / 0.5076 GB, free: 6.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.12, allocations: 17.62 kB / 0.5076 GB, free: 6.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.1202, allocations: 65.69 kB / 0.5077 GB, free: 6.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.245e-05/0.1203, allocations: 82.19 kB / 0.5077 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.131e-05/0.1204, allocations: 116 kB / 0.5078 GB, free: 6.613 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.1206, allocations: 295 kB / 0.5081 GB, free: 6.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1207, allocations: 0 / 0.5081 GB, free: 6.414 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1207, allocations: 1.469 kB / 0.5081 GB, free: 6.414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.1207, allocations: 0 / 0.5081 GB, free: 6.414 MB / 382.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.0005853/0.1213, allocations: 0.5438 MB / 0.5087 GB, free: 5.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.1213, allocations: 8.031 kB / 0.5087 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.1215, allocations: 32.64 kB / 0.5087 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.1217, allocations: 263.4 kB / 0.5089 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.1217, allocations: 16 kB / 0.509 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.1217, allocations: 16 kB / 0.509 GB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/0.122, allocations: 215 kB / 0.5092 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1221, allocations: 0 / 0.5092 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.1221, allocations: 11.98 kB / 0.5092 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1221, allocations: 4 kB / 0.5092 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006283/0.1227, allocations: 0.7451 MB / 0.5099 GB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007259/0.1235, allocations: 0.5903 MB / 0.5105 GB, free: 3.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.1239, allocations: 301.9 kB / 0.5108 GB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.124, allocations: 113.4 kB / 0.5109 GB, free: 3.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/0.124, allocations: 20.25 kB / 0.5109 GB, free: 3.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002887/0.1243, allocations: 191.9 kB / 0.5111 GB, free: 3.211 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.613e-06/0.1243, allocations: 0 / 0.5111 GB, free: 3.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0005161/0.1249, allocations: 368.9 kB / 0.5115 GB, free: 2.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.1249, allocations: 85.09 kB / 0.5115 GB, free: 2.742 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.1251, allocations: 296.7 kB / 0.5118 GB, free: 2.438 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.1251, allocations: 33.7 kB / 0.5118 GB, free: 2.398 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.1252, allocations: 132.6 kB / 0.512 GB, free: 2.266 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.854e-05/0.1253, allocations: 114.4 kB / 0.5121 GB, free: 2.152 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.847e-05/0.1253, allocations: 65.69 kB / 0.5121 GB, free: 2.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.924e-05/0.1254, allocations: 334.8 kB / 0.5125 GB, free: 1.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.1255, allocations: 79.95 kB / 0.5125 GB, free: 1.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.1256, allocations: 110.8 kB / 0.5126 GB, free: 1.555 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.1259, allocations: 213 kB / 0.5129 GB, free: 1.344 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1259, allocations: 0 / 0.5129 GB, free: 1.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003313/0.1262, allocations: 273.2 kB / 0.5131 GB, free: 1.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1263, allocations: 11.92 kB / 0.5131 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1263, allocations: 4.031 kB / 0.5131 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1263, allocations: 4 kB / 0.5131 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.1265, allocations: 63.84 kB / 0.5132 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1265, allocations: 0 / 0.5132 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.352e-05/0.1266, allocations: 19.78 kB / 0.5132 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.1266, allocations: 16 kB / 0.5132 GB, free: 0.9531 MB / 382.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.0001009/0.1267, allocations: 161.7 kB / 0.5134 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.1268, allocations: 31.66 kB / 0.5134 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.352e-05/0.1269, allocations: 34.66 kB / 0.5134 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1269, allocations: 7.984 kB / 0.5134 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1269, allocations: 0 / 0.5134 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1269, allocations: 0 / 0.5134 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.1271, allocations: 337.1 kB / 0.5138 GB, free: 340 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1271, allocations: 4 kB / 0.5138 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.1273, allocations: 59.91 kB / 0.5138 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1273, allocations: 3.938 kB / 0.5138 GB, free: 272 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.1273, allocations: 11.98 kB / 0.5138 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1273, allocations: 4 kB / 0.5139 GB, free: 256 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1273, allocations: 4 kB / 0.5139 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003889/0.1277, allocations: 320.7 kB / 0.5142 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.1279, allocations: 144.6 kB / 0.5143 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.1279, allocations: 7.938 kB / 0.5143 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.1281, allocations: 23.97 kB / 0.5143 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/0.1281, allocations: 23.97 kB / 0.5144 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.1281, allocations: 12 kB / 0.5144 GB, free: 15.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001962/0.1283, allocations: 237.6 kB / 0.5146 GB, free: 15.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1284, allocations: 0 / 0.5146 GB, free: 15.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002847/0.1286, allocations: 59.91 kB / 0.5146 GB, free: 15.4 MB / 398.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.000854/0.1295, allocations: 406 kB / 0.515 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003687/0.1299, allocations: 227.7 kB / 0.5153 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1299, allocations: 0 / 0.5153 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.1301, allocations: 128.6 kB / 0.5154 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.1304, allocations: 51.39 kB / 0.5154 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007982/0.1312, allocations: 0.51 MB / 0.5159 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.1315, allocations: 0.7727 MB / 0.5167 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003141/0.1318, allocations: 134.9 kB / 0.5168 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.203e-05/0.1319, allocations: 47.41 kB / 0.5168 GB, free: 13.22 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1319, allocations: 0 / 0.5168 GB, free: 13.22 MB / 398.1 MB Notification: Performance of Templates: time 0.006333/0.1383, allocations: 2.954 MB / 0.5197 GB, free: 10.3 MB / 398.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)