Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.005481/0.005481, allocations: 103 kB / 15.73 MB, free: 6.035 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.001515/0.001515, allocations: 193.6 kB / 16.68 MB, free: 5.953 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.529/1.529, allocations: 205.1 MB / 222.5 MB, free: 4.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.618/1.618, allocations: 251.7 MB / 0.5094 GB, free: 3 MB / 414.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: Performance of FrontEnd - loaded program: time 0.002392/0.002392, allocations: 63.91 kB / 0.7258 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2903, allocations: 104.7 MB / 0.828 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003911/0.2943, allocations: 1.841 MB / 0.8298 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002931/0.2973, allocations: 1.5 MB / 0.8313 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.2974, allocations: 0 / 0.8313 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003669/0.2978, allocations: 27.78 kB / 0.8313 GB, free: 12.81 MB / 0.6544 GB [/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.0004803/0.2984, allocations: 87.55 kB / 0.8314 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005881/0.299, allocations: 143 kB / 0.8316 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003965/0.2994, allocations: 285.3 kB / 0.8318 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.2996, allocations: 33.05 kB / 0.8319 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.2997, allocations: 95.8 kB / 0.832 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003442/0.3001, allocations: 103.7 kB / 0.8321 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.567e-05/0.3001, allocations: 20 kB / 0.8321 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002462/0.3004, allocations: 75.91 kB / 0.8321 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.3006, allocations: 83.8 kB / 0.8322 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.3008, allocations: 119.3 kB / 0.8323 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005459/0.3013, allocations: 318.9 kB / 0.8326 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.3013, allocations: 0 / 0.8326 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.645e-06/0.3013, allocations: 3.938 kB / 0.8326 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.3014, allocations: 0 / 0.8326 GB, free: 11.47 MB / 0.6544 GB 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.00114/0.3025, allocations: 0.5539 MB / 0.8332 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.3026, allocations: 8.031 kB / 0.8332 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002296/0.3028, allocations: 32.56 kB / 0.8332 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.3032, allocations: 266.8 kB / 0.8335 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.3032, allocations: 12.38 kB / 0.8335 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.872e-05/0.3032, allocations: 20.12 kB / 0.8335 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004386/0.3037, allocations: 244.5 kB / 0.8337 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3037, allocations: 0 / 0.8337 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.3037, allocations: 4 kB / 0.8337 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3038, allocations: 4 kB / 0.8337 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00094/0.3047, allocations: 0.749 MB / 0.8345 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.3058, allocations: 0.6292 MB / 0.8351 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005175/0.3064, allocations: 305.8 kB / 0.8354 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.3066, allocations: 109.4 kB / 0.8355 GB, free: 8.391 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.761e-05/0.3066, allocations: 24.23 kB / 0.8355 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005088/0.3072, allocations: 175.4 kB / 0.8357 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=35): time 1.884e-06/0.3072, allocations: 0 / 0.8357 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35): time 0.0008164/0.308, allocations: 381.5 kB / 0.836 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.3081, allocations: 136.5 kB / 0.8362 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003486/0.3085, allocations: 312.9 kB / 0.8365 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.3085, allocations: 33.7 kB / 0.8365 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.3086, allocations: 132.7 kB / 0.8366 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.3087, allocations: 114.3 kB / 0.8367 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.3088, allocations: 65.69 kB / 0.8368 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.309, allocations: 338.8 kB / 0.8371 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.3092, allocations: 87.81 kB / 0.8372 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.3094, allocations: 127.4 kB / 0.8373 GB, free: 6.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003146/0.3097, allocations: 210.3 kB / 0.8375 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3097, allocations: 4 kB / 0.8375 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004132/0.3101, allocations: 285 kB / 0.8378 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.3101, allocations: 6.656 kB / 0.8378 GB, free: 5.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3102, allocations: 3.984 kB / 0.8378 GB, free: 5.906 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.3102, allocations: 15.97 kB / 0.8378 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.3104, allocations: 59.91 kB / 0.8379 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.3105, allocations: 0 / 0.8379 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.3106, allocations: 23.83 kB / 0.8379 GB, free: 5.809 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.3106, allocations: 12 kB / 0.8379 GB, free: 5.797 MB / 0.6544 GB 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.tNext,$PRE.conTim.tNext,$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.0001654/0.3108, allocations: 165.7 kB / 0.8381 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-05/0.3109, allocations: 27.72 kB / 0.8381 GB, free: 5.598 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.311, allocations: 42.95 kB / 0.8382 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.311, allocations: 11.88 kB / 0.8382 GB, free: 5.535 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.311, allocations: 0 / 0.8382 GB, free: 5.535 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.311, allocations: 3.984 kB / 0.8382 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003425/0.3114, allocations: 341.2 kB / 0.8385 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3114, allocations: 0 / 0.8385 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.3116, allocations: 63.91 kB / 0.8386 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.3116, allocations: 0 / 0.8386 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.3116, allocations: 11.98 kB / 0.8386 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.3116, allocations: 11.88 kB / 0.8386 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3116, allocations: 0 / 0.8386 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004849/0.3121, allocations: 324.6 kB / 0.8389 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.3123, allocations: 148.7 kB / 0.839 GB, free: 4.562 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.059e-05/0.3123, allocations: 4 kB / 0.839 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.3125, allocations: 23.92 kB / 0.8391 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.879e-05/0.3126, allocations: 27.95 kB / 0.8391 GB, free: 4.508 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/0.3126, allocations: 16 kB / 0.8391 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000229/0.3129, allocations: 240.4 kB / 0.8393 GB, free: 4.254 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3129, allocations: 0 / 0.8393 GB, free: 4.254 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000317/0.3132, allocations: 63.84 kB / 0.8394 GB, free: 4.191 MB / 0.6544 GB 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.tNext) * Number of discrete states: 1 (conTim.tNext) * 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.001117/0.3143, allocations: 410.9 kB / 0.8398 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004303/0.3148, allocations: 227.7 kB / 0.84 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3148, allocations: 0 / 0.84 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.315, allocations: 131.8 kB / 0.8401 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.3153, allocations: 41.78 kB / 0.8402 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009314/0.3163, allocations: 0.5306 MB / 0.8407 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004867/0.3168, allocations: 0.7653 MB / 0.8414 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00033/0.3171, allocations: 142.9 kB / 0.8416 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.256e-05/0.3172, allocations: 43.42 kB / 0.8416 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of SimCode: time 2.91e-07/0.3172, allocations: 0 / 0.8416 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of Templates: time 0.008016/0.3252, allocations: 3.434 MB / 0.845 GB, free: 14.64 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)