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.005093/0.005093, allocations: 101 kB / 15.73 MB, free: 6.059 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.001309/0.001309, allocations: 197.8 kB / 16.68 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.22/1.22, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2536/0.2536, allocations: 54.96 MB / 324.9 MB, free: 4.848 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.001345/0.001345, allocations: 67.91 kB / 456.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09308/0.09444, allocations: 59.59 MB / 0.5037 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002977/0.09745, allocations: 1.797 MB / 0.5055 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.09921, allocations: 1.414 MB / 0.5069 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.089e-05/0.0993, allocations: 4 kB / 0.5069 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.0995, allocations: 23.84 kB / 0.5069 GB, free: 3.805 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.0002033/0.09973, allocations: 59.62 kB / 0.5069 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.1001, allocations: 122.7 kB / 0.5071 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.1003, allocations: 253.5 kB / 0.5073 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.601e-05/0.1004, allocations: 31.97 kB / 0.5073 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.767e-05/0.1005, allocations: 79.83 kB / 0.5074 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.1007, allocations: 95.7 kB / 0.5075 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.1007, allocations: 20 kB / 0.5075 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.1009, allocations: 67.97 kB / 0.5076 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.687e-05/0.101, allocations: 91.73 kB / 0.5077 GB, free: 3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.197e-05/0.1011, allocations: 103.3 kB / 0.5078 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.1014, allocations: 294.7 kB / 0.508 GB, free: 2.609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1014, allocations: 3.984 kB / 0.5081 GB, free: 2.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1014, allocations: 0 / 0.5081 GB, free: 2.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1014, allocations: 4 kB / 0.5081 GB, free: 2.602 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.0006159/0.102, allocations: 0.5453 MB / 0.5086 GB, free: 2.012 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.738e-05/0.1021, allocations: 8.031 kB / 0.5086 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.1022, allocations: 36.73 kB / 0.5086 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.1024, allocations: 271.5 kB / 0.5089 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.1025, allocations: 12 kB / 0.5089 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.1025, allocations: 16 kB / 0.5089 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000305/0.1028, allocations: 223 kB / 0.5091 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1028, allocations: 0 / 0.5091 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.1028, allocations: 4 kB / 0.5091 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1029, allocations: 4 kB / 0.5091 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007716/0.1036, allocations: 0.7412 MB / 0.5099 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007721/0.1044, allocations: 0.5942 MB / 0.5104 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004297/0.1049, allocations: 306.7 kB / 0.5107 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.105, allocations: 113.4 kB / 0.5108 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.024e-05/0.1051, allocations: 24.23 kB / 0.5109 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003032/0.1054, allocations: 180.8 kB / 0.511 GB, free: 15.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 1.704e-06/0.1054, allocations: 0 / 0.511 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.0005449/0.1059, allocations: 373 kB / 0.5114 GB, free: 15.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.106, allocations: 85.11 kB / 0.5115 GB, free: 14.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.1062, allocations: 300.8 kB / 0.5118 GB, free: 14.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.1063, allocations: 29.7 kB / 0.5118 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.43e-05/0.1064, allocations: 128.7 kB / 0.5119 GB, free: 14.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.529e-05/0.1064, allocations: 119 kB / 0.512 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.387e-05/0.1065, allocations: 65.69 kB / 0.5121 GB, free: 14.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1066, allocations: 334.8 kB / 0.5124 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.1068, allocations: 79.95 kB / 0.5125 GB, free: 13.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.1069, allocations: 114.8 kB / 0.5126 GB, free: 13.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.1072, allocations: 213.1 kB / 0.5128 GB, free: 13.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1072, allocations: 0 / 0.5128 GB, free: 13.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003694/0.1076, allocations: 277.1 kB / 0.5131 GB, free: 13.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1076, allocations: 11.94 kB / 0.5131 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1076, allocations: 0 / 0.5131 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1076, allocations: 3.984 kB / 0.5131 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.1078, allocations: 59.91 kB / 0.5131 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1078, allocations: 3.984 kB / 0.5131 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.543e-05/0.1079, allocations: 27.92 kB / 0.5132 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.108, allocations: 8 kB / 0.5132 GB, free: 13.12 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.0001213/0.1081, allocations: 165.7 kB / 0.5133 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.1081, allocations: 31.75 kB / 0.5134 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.82e-05/0.1082, allocations: 42.59 kB / 0.5134 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1082, allocations: 4 kB / 0.5134 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1082, allocations: 0 / 0.5134 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1083, allocations: 7.984 kB / 0.5134 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.1085, allocations: 333.3 kB / 0.5137 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1085, allocations: 0 / 0.5137 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.1087, allocations: 59.91 kB / 0.5138 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.1087, allocations: 7.938 kB / 0.5138 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.1087, allocations: 11.98 kB / 0.5138 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1087, allocations: 0 / 0.5138 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1087, allocations: 0 / 0.5138 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.1091, allocations: 324.8 kB / 0.5141 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.1093, allocations: 148.7 kB / 0.5143 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.1093, allocations: 8 kB / 0.5143 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.1094, allocations: 19.92 kB / 0.5143 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.1095, allocations: 31.94 kB / 0.5143 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.1095, allocations: 8 kB / 0.5143 GB, free: 11.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001704/0.1097, allocations: 237.6 kB / 0.5145 GB, free: 11.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1097, allocations: 0 / 0.5145 GB, free: 11.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.11, allocations: 63.89 kB / 0.5146 GB, free: 11.55 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.0007784/0.1107, allocations: 402 kB / 0.515 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003314/0.1111, allocations: 227.7 kB / 0.5152 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1111, allocations: 0 / 0.5152 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.1113, allocations: 136.6 kB / 0.5153 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.1115, allocations: 45.91 kB / 0.5154 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007209/0.1123, allocations: 0.5173 MB / 0.5159 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.1126, allocations: 0.7579 MB / 0.5166 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002807/0.1129, allocations: 146.8 kB / 0.5168 GB, free: 9.453 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.266e-05/0.113, allocations: 43.41 kB / 0.5168 GB, free: 9.41 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.113, allocations: 0 / 0.5168 GB, free: 9.41 MB / 414.1 MB Notification: Performance of Templates: time 0.005939/0.119, allocations: 3.004 MB / 0.5197 GB, free: 6.465 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)