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.001204/0.001205, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001579/0.001579, allocations: 199.3 kB / 16.26 MB, free: 6.621 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.443/1.443, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4289/0.4289, allocations: 54.92 MB / 324.4 MB, free: 80 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.001475/0.001475, allocations: 63.91 kB / 394.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1687, allocations: 59.59 MB / 454.5 MB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.3151/0.4839, allocations: 1.848 MB / 456.3 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.4857, allocations: 1.371 MB / 457.7 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.823e-05/0.4858, allocations: 4.062 kB / 457.7 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.4862, allocations: 25.98 kB / 457.7 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.4864, allocations: 48.64 kB / 457.8 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.4868, allocations: 114.9 kB / 457.9 MB, free: 38.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003167/0.4871, allocations: 252.4 kB / 458.2 MB, free: 38.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.4873, allocations: 32.34 kB / 458.2 MB, free: 38.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.4874, allocations: 83.55 kB / 458.3 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.4876, allocations: 92.23 kB / 458.4 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.8e-05/0.4877, allocations: 17.22 kB / 458.4 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.4878, allocations: 70.94 kB / 458.4 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.4879, allocations: 80.5 kB / 458.5 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.4881, allocations: 113 kB / 458.6 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004495/0.4885, allocations: 286.7 kB / 458.9 MB, free: 38.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.4886, allocations: 1.688 kB / 458.9 MB, free: 38.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.4886, allocations: 0 / 458.9 MB, free: 38.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.4886, allocations: 0 / 458.9 MB, free: 38.21 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.0008633/0.4895, allocations: 0.5408 MB / 459.5 MB, free: 37.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.4895, allocations: 7.375 kB / 459.5 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.4897, allocations: 34.56 kB / 459.5 MB, free: 37.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.49, allocations: 263.6 kB / 459.8 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.49, allocations: 13.77 kB / 459.8 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.49, allocations: 18.25 kB / 459.8 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/0.4904, allocations: 218.1 kB / 460 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.4904, allocations: 0 / 460 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.4904, allocations: 9.75 kB / 460 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.4904, allocations: 7.125 kB / 460 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008257/0.4913, allocations: 0.74 MB / 460.8 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009372/0.4922, allocations: 0.5916 MB / 461.3 MB, free: 37.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.4927, allocations: 311.2 kB / 461.6 MB, free: 37.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.4928, allocations: 113.3 kB / 461.8 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.22e-05/0.4929, allocations: 16.03 kB / 461.8 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003219/0.4932, allocations: 186.9 kB / 462 MB, free: 37.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.633e-06/0.4932, allocations: 2.875 kB / 462 MB, free: 37.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006116/0.4939, allocations: 368.1 kB / 462.3 MB, free: 36.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.4939, allocations: 87.48 kB / 462.4 MB, free: 36.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.4942, allocations: 294.6 kB / 462.7 MB, free: 36.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.4943, allocations: 36.7 kB / 462.7 MB, free: 36.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.095e-05/0.4944, allocations: 125.9 kB / 462.8 MB, free: 36.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.23e-05/0.4945, allocations: 112 kB / 463 MB, free: 36.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.4946, allocations: 65.22 kB / 463 MB, free: 36.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.221e-05/0.4947, allocations: 340 kB / 463.4 MB, free: 36.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.4948, allocations: 75.8 kB / 463.4 MB, free: 36.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.4949, allocations: 115.7 kB / 463.5 MB, free: 35.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.4952, allocations: 209.9 kB / 463.7 MB, free: 35.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4952, allocations: 0 / 463.7 MB, free: 35.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003998/0.4956, allocations: 283 kB / 464 MB, free: 35.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.4957, allocations: 12.44 kB / 464 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.4957, allocations: 0 / 464 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.4957, allocations: 1.078 kB / 464 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.4959, allocations: 63.16 kB / 464.1 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.4959, allocations: 3.938 kB / 464.1 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.373e-05/0.496, allocations: 27.67 kB / 464.1 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.4961, allocations: 13.53 kB / 464.1 MB, free: 35.74 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.0001649/0.4962, allocations: 161 kB / 464.3 MB, free: 35.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/0.4963, allocations: 30.16 kB / 464.3 MB, free: 35.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006591/0.497, allocations: 383.7 kB / 464.7 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.497, allocations: 3.375 kB / 464.7 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.497, allocations: 0 / 464.7 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.497, allocations: 5.031 kB / 464.7 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.4973, allocations: 333.1 kB / 465 MB, free: 35.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4973, allocations: 0 / 465 MB, free: 35.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.4975, allocations: 61.06 kB / 465.1 MB, free: 35.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.4975, allocations: 5.906 kB / 465.1 MB, free: 35.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.4975, allocations: 18.67 kB / 465.1 MB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.4975, allocations: 1 kB / 465.1 MB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4976, allocations: 2.625 kB / 465.1 MB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004634/0.498, allocations: 312.8 kB / 465.4 MB, free: 35.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.4981, allocations: 140.6 kB / 465.6 MB, free: 34.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.4982, allocations: 10.94 kB / 465.6 MB, free: 34.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.4983, allocations: 22.14 kB / 465.6 MB, free: 34.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/0.4984, allocations: 27.81 kB / 465.6 MB, free: 34.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.4984, allocations: 18.44 kB / 465.6 MB, free: 34.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001926/0.4986, allocations: 226.8 kB / 465.9 MB, free: 34.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4986, allocations: 0.8438 kB / 465.9 MB, free: 34.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.4989, allocations: 66.98 kB / 465.9 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.0009741/0.4999, allocations: 404.4 kB / 466.3 MB, free: 34.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004548/0.5003, allocations: 308.3 kB / 466.6 MB, free: 34.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5004, allocations: 3.938 kB / 466.6 MB, free: 34.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.5005, allocations: 131.2 kB / 466.8 MB, free: 34.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.5008, allocations: 41.52 kB / 466.8 MB, free: 34.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008488/0.5017, allocations: 0.6026 MB / 467.4 MB, free: 34.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.5019, allocations: 0.7534 MB / 468.2 MB, free: 33.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002966/0.5022, allocations: 143.3 kB / 468.3 MB, free: 33.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.051e-05/0.5023, allocations: 41.31 kB / 468.3 MB, free: 33.41 MB / 382.1 MB Notification: Performance of SimCode: time 1.91e-07/0.5023, allocations: 0 / 468.3 MB, free: 33.41 MB / 382.1 MB Notification: Performance of Templates: time 0.006298/0.5086, allocations: 2.949 MB / 471.3 MB, free: 33.19 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)