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.001231/0.001231, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.67/1.67, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4277/0.4277, allocations: 54.96 MB / 324.7 MB, free: 15.84 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.001755/0.001755, allocations: 67.91 kB / 395.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1451, allocations: 59.6 MB / 454.9 MB, free: 120 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.3667/0.5119, allocations: 1.793 MB / 456.7 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002565/0.5145, allocations: 1.396 MB / 458.1 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.905e-05/0.5147, allocations: 4.031 kB / 458.1 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.5151, allocations: 26.03 kB / 458.2 MB, free: 38.45 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.0003138/0.5154, allocations: 54.62 kB / 458.2 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.5159, allocations: 123.4 kB / 458.3 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003624/0.5163, allocations: 245.2 kB / 458.6 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.5165, allocations: 37.02 kB / 458.6 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.5166, allocations: 84.84 kB / 458.7 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.5168, allocations: 92.23 kB / 458.8 MB, free: 38.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.639e-05/0.5169, allocations: 17.56 kB / 458.8 MB, free: 38.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.5171, allocations: 70.38 kB / 458.9 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.5172, allocations: 88.67 kB / 458.9 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.5174, allocations: 104.3 kB / 459.1 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003979/0.5178, allocations: 289.5 kB / 459.3 MB, free: 38.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5178, allocations: 0 / 459.3 MB, free: 38.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.5178, allocations: 0 / 459.3 MB, free: 38.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.5178, allocations: 4.344 kB / 459.3 MB, free: 38.24 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.0008898/0.5187, allocations: 0.5435 MB / 459.9 MB, free: 37.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.5188, allocations: 8.719 kB / 459.9 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.519, allocations: 30.91 kB / 459.9 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.5192, allocations: 261.5 kB / 460.2 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.5192, allocations: 22.34 kB / 460.2 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.5193, allocations: 14.44 kB / 460.2 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.5196, allocations: 216.2 kB / 460.4 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5196, allocations: 1.781 kB / 460.4 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.5197, allocations: 8.031 kB / 460.4 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.5197, allocations: 7.844 kB / 460.4 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007992/0.5205, allocations: 0.7422 MB / 461.2 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008638/0.5214, allocations: 0.5872 MB / 461.8 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004538/0.5218, allocations: 312.8 kB / 462.1 MB, free: 37.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.522, allocations: 114.6 kB / 462.2 MB, free: 36.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.366e-05/0.522, allocations: 21.81 kB / 462.2 MB, free: 36.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004051/0.5225, allocations: 181.3 kB / 462.4 MB, free: 36.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.463e-06/0.5225, allocations: 0 / 462.4 MB, free: 36.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0007237/0.5232, allocations: 373.2 kB / 462.7 MB, free: 36.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.628e-05/0.5233, allocations: 86.58 kB / 462.8 MB, free: 36.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.5237, allocations: 297.4 kB / 463.1 MB, free: 36.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.5237, allocations: 32.58 kB / 463.2 MB, free: 36.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.5238, allocations: 130.3 kB / 463.3 MB, free: 36.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.097e-05/0.5239, allocations: 111.4 kB / 463.4 MB, free: 36.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.419e-05/0.524, allocations: 62.28 kB / 463.5 MB, free: 36.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.5241, allocations: 338.5 kB / 463.8 MB, free: 35.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.5242, allocations: 81.05 kB / 463.9 MB, free: 35.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.5244, allocations: 106.9 kB / 464 MB, free: 35.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.5247, allocations: 218.2 kB / 464.2 MB, free: 35.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.5247, allocations: 0 / 464.2 MB, free: 35.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003908/0.5251, allocations: 276.4 kB / 464.5 MB, free: 35.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.5252, allocations: 9.719 kB / 464.5 MB, free: 35.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5252, allocations: 0 / 464.5 MB, free: 35.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.5252, allocations: 2.938 kB / 464.5 MB, free: 35.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.5254, allocations: 66.16 kB / 464.5 MB, free: 35.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.5254, allocations: 3.5 kB / 464.5 MB, free: 35.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.898e-05/0.5255, allocations: 24.84 kB / 464.6 MB, free: 35.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.5256, allocations: 14.12 kB / 464.6 MB, free: 35.62 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.0001584/0.5257, allocations: 161.8 kB / 464.7 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.786e-05/0.5258, allocations: 30.7 kB / 464.8 MB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.562e-05/0.5259, allocations: 40.59 kB / 464.8 MB, free: 35.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.5259, allocations: 5.594 kB / 464.8 MB, free: 35.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.5259, allocations: 0 / 464.8 MB, free: 35.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.5259, allocations: 3.234 kB / 464.8 MB, free: 35.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.5262, allocations: 329.6 kB / 465.1 MB, free: 35.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.5262, allocations: 0 / 465.1 MB, free: 35.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.5264, allocations: 60.94 kB / 465.2 MB, free: 35.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.5264, allocations: 4.844 kB / 465.2 MB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.5264, allocations: 13 kB / 465.2 MB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.5264, allocations: 6.844 kB / 465.2 MB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.5265, allocations: 3.047 kB / 465.2 MB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/0.5269, allocations: 315.8 kB / 465.5 MB, free: 35.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.527, allocations: 141.3 kB / 465.7 MB, free: 34.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.928e-05/0.527, allocations: 11.12 kB / 465.7 MB, free: 34.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.5272, allocations: 22 kB / 465.7 MB, free: 34.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.5272, allocations: 25.17 kB / 465.7 MB, free: 34.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.5273, allocations: 14.81 kB / 465.7 MB, free: 34.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000162/0.5274, allocations: 233.9 kB / 466 MB, free: 34.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5274, allocations: 0 / 466 MB, free: 34.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.5277, allocations: 57.28 kB / 466 MB, free: 34.75 MB / 382.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.001052/0.5288, allocations: 400.6 kB / 466.4 MB, free: 34.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004816/0.5293, allocations: 301 kB / 466.7 MB, free: 34.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5293, allocations: 0 / 466.7 MB, free: 34.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.5295, allocations: 140.4 kB / 466.8 MB, free: 34.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.5298, allocations: 42.73 kB / 466.9 MB, free: 34.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008443/0.5306, allocations: 0.5119 MB / 467.4 MB, free: 34.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.5309, allocations: 0.7552 MB / 468.1 MB, free: 33.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003007/0.5312, allocations: 142.5 kB / 468.3 MB, free: 33.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.152e-05/0.5313, allocations: 44.16 kB / 468.3 MB, free: 33.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.5313, allocations: 0 / 468.3 MB, free: 33.5 MB / 382.1 MB Notification: Performance of Templates: time 0.007398/0.5387, allocations: 2.961 MB / 471.3 MB, free: 33.29 MB / 382.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)