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.001757/0.001757, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001165/0.001166, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.405/1.405, allocations: 205.1 MB / 222 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3791/0.3791, allocations: 54.93 MB / 324.3 MB, free: 144 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.001345/0.001345, allocations: 67.91 kB / 394.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1161, allocations: 59.59 MB / 454.3 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.1938/0.31, allocations: 1.857 MB / 456.1 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.3115, allocations: 1.368 MB / 457.5 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.569e-05/0.3116, allocations: 3.719 kB / 457.5 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.3119, allocations: 22.84 kB / 457.5 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.3121, allocations: 49.14 kB / 457.6 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.3124, allocations: 117.8 kB / 457.7 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.3126, allocations: 228.9 kB / 457.9 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3127, allocations: 30.84 kB / 457.9 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.311e-05/0.3128, allocations: 73.05 kB / 458 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.313, allocations: 94.11 kB / 458.1 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.313, allocations: 11.44 kB / 458.1 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.3132, allocations: 59.23 kB / 458.2 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.588e-05/0.3132, allocations: 75.59 kB / 458.2 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.312e-05/0.3133, allocations: 97.91 kB / 458.3 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.3136, allocations: 281 kB / 458.6 MB, free: 38.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3136, allocations: 3.969 kB / 458.6 MB, free: 38.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3136, allocations: 0 / 458.6 MB, free: 38.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.3136, allocations: 3.25 kB / 458.6 MB, free: 38.12 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.0006019/0.3142, allocations: 0.537 MB / 459.1 MB, free: 37.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.3143, allocations: 15.38 kB / 459.2 MB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.3144, allocations: 30.53 kB / 459.2 MB, free: 37.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.3146, allocations: 260.2 kB / 459.4 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.3147, allocations: 21.09 kB / 459.5 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.3147, allocations: 18.09 kB / 459.5 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/0.315, allocations: 210.6 kB / 459.7 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.315, allocations: 0.5312 kB / 459.7 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.315, allocations: 9.156 kB / 459.7 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.315, allocations: 5.875 kB / 459.7 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006543/0.3157, allocations: 0.7407 MB / 460.4 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007239/0.3164, allocations: 0.5926 MB / 461 MB, free: 37.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.3168, allocations: 301 kB / 461.3 MB, free: 37.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.317, allocations: 110.8 kB / 461.4 MB, free: 37.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.744e-05/0.317, allocations: 20.62 kB / 461.5 MB, free: 37.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003134/0.3173, allocations: 189.8 kB / 461.6 MB, free: 37.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.563e-06/0.3173, allocations: 0.625 kB / 461.6 MB, free: 37.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0005363/0.3179, allocations: 376.3 kB / 462 MB, free: 36.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.3179, allocations: 80.95 kB / 462.1 MB, free: 36.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.3181, allocations: 300.9 kB / 462.4 MB, free: 36.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.3182, allocations: 33.39 kB / 462.4 MB, free: 36.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/0.3182, allocations: 131.8 kB / 462.5 MB, free: 36.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.491e-05/0.3183, allocations: 111.3 kB / 462.7 MB, free: 36.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.609e-05/0.3183, allocations: 61.91 kB / 462.7 MB, free: 36.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.767e-05/0.3184, allocations: 333.9 kB / 463 MB, free: 36.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.3185, allocations: 84.09 kB / 463.1 MB, free: 36.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.3187, allocations: 110.3 kB / 463.2 MB, free: 36.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.3189, allocations: 212.9 kB / 463.4 MB, free: 35.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3189, allocations: 0 / 463.4 MB, free: 35.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003353/0.3193, allocations: 276.1 kB / 463.7 MB, free: 35.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.3193, allocations: 9.125 kB / 463.7 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3193, allocations: 4.562 kB / 463.7 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3193, allocations: 6.031 kB / 463.7 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.3195, allocations: 58.48 kB / 463.8 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.3195, allocations: 2.938 kB / 463.8 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.369e-05/0.3196, allocations: 31.69 kB / 463.8 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.3196, allocations: 13.89 kB / 463.8 MB, free: 35.79 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.0001083/0.3198, allocations: 161.2 kB / 464 MB, free: 35.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.3198, allocations: 25.81 kB / 464 MB, free: 35.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005468/0.3204, allocations: 380.4 kB / 464.4 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.3204, allocations: 6.938 kB / 464.4 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3204, allocations: 0.9062 kB / 464.4 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3204, allocations: 7.219 kB / 464.4 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.3206, allocations: 334.5 kB / 464.7 MB, free: 35.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3206, allocations: 2.562 kB / 464.7 MB, free: 35.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.3208, allocations: 55.58 kB / 464.8 MB, free: 35.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3208, allocations: 2.719 kB / 464.8 MB, free: 35.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.3208, allocations: 13.56 kB / 464.8 MB, free: 35.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3208, allocations: 0.5312 kB / 464.8 MB, free: 35.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3208, allocations: 0.7812 kB / 464.8 MB, free: 35.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.3212, allocations: 326.2 kB / 465.1 MB, free: 35.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.411e-05/0.3213, allocations: 137.3 kB / 465.3 MB, free: 34.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.496e-05/0.3213, allocations: 11.97 kB / 465.3 MB, free: 34.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.3214, allocations: 18.83 kB / 465.3 MB, free: 34.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.3215, allocations: 29.08 kB / 465.3 MB, free: 34.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.3215, allocations: 16.86 kB / 465.3 MB, free: 34.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001305/0.3217, allocations: 232.9 kB / 465.6 MB, free: 34.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3217, allocations: 0 / 465.6 MB, free: 34.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.3219, allocations: 59.22 kB / 465.6 MB, free: 34.79 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.0007909/0.3227, allocations: 416.5 kB / 466 MB, free: 34.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002995/0.323, allocations: 229.4 kB / 466.2 MB, free: 34.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.323, allocations: 0 / 466.2 MB, free: 34.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.3232, allocations: 125.1 kB / 466.4 MB, free: 34.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.3235, allocations: 41.98 kB / 466.4 MB, free: 34.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007508/0.3242, allocations: 0.5974 MB / 467 MB, free: 34.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.3244, allocations: 0.7631 MB / 467.8 MB, free: 33.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002836/0.3247, allocations: 143.1 kB / 467.9 MB, free: 33.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.387e-05/0.3248, allocations: 46.64 kB / 468 MB, free: 33.46 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3248, allocations: 0 / 468 MB, free: 33.46 MB / 382.1 MB Notification: Performance of Templates: time 0.005008/0.3298, allocations: 2.858 MB / 470.8 MB, free: 33.25 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)