Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001264/0.001264, allocations: 108 kB / 15.6 MB, free: 132 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.001543/0.001543, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.563/1.563, allocations: 205.1 MB / 222.4 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 292.3 MB / 0.5488 GB, free: 12.85 MB / 462.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.001466/0.001466, allocations: 66 kB / 0.6715 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3027, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.005252/0.3081, allocations: 1.855 MB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002911/0.311, allocations: 1.497 MB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.3112, allocations: 0 / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.3115, allocations: 31.77 kB / 0.7867 GB, free: 10.09 MB / 0.6075 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.0003269/0.3119, allocations: 71.56 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.3123, allocations: 155 kB / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003215/0.3126, allocations: 269.4 kB / 0.7871 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.3128, allocations: 37.31 kB / 0.7872 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.3129, allocations: 91.83 kB / 0.7873 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002658/0.3132, allocations: 114 kB / 0.7874 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.875e-05/0.3132, allocations: 20 kB / 0.7874 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.3134, allocations: 63.98 kB / 0.7875 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.3136, allocations: 95.66 kB / 0.7875 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.3138, allocations: 119.3 kB / 0.7877 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004407/0.3142, allocations: 299.1 kB / 0.7879 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.3142, allocations: 0 / 0.7879 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.535e-06/0.3142, allocations: 0 / 0.7879 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.3142, allocations: 0 / 0.7879 GB, free: 8.789 MB / 0.6075 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.001047/0.3153, allocations: 0.5539 MB / 0.7885 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.3154, allocations: 8.031 kB / 0.7885 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.3156, allocations: 32.64 kB / 0.7885 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.3159, allocations: 274.7 kB / 0.7888 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.3159, allocations: 24.16 kB / 0.7888 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.3159, allocations: 20.06 kB / 0.7888 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/0.3163, allocations: 229.6 kB / 0.789 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3164, allocations: 0 / 0.789 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.3164, allocations: 4 kB / 0.789 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.3164, allocations: 7.984 kB / 0.7891 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008276/0.3172, allocations: 0.7488 MB / 0.7898 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.3183, allocations: 0.6293 MB / 0.7904 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004848/0.3188, allocations: 310 kB / 0.7907 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.319, allocations: 109.3 kB / 0.7908 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.018e-05/0.319, allocations: 20.25 kB / 0.7908 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004085/0.3194, allocations: 180 kB / 0.791 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=35): time 1.563e-06/0.3195, allocations: 0 / 0.791 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.000683/0.3201, allocations: 382 kB / 0.7914 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.3203, allocations: 136.4 kB / 0.7915 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.3206, allocations: 316.9 kB / 0.7918 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.3206, allocations: 33.7 kB / 0.7918 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.588e-05/0.3207, allocations: 132.6 kB / 0.7919 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.448e-05/0.3208, allocations: 118.3 kB / 0.7921 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.229e-05/0.3209, allocations: 65.69 kB / 0.7921 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.321, allocations: 342.8 kB / 0.7925 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.3212, allocations: 79.95 kB / 0.7925 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.3214, allocations: 127.4 kB / 0.7926 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.3217, allocations: 218.3 kB / 0.7929 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3217, allocations: 0 / 0.7929 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004298/0.3221, allocations: 277.1 kB / 0.7931 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3222, allocations: 8 kB / 0.7931 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3222, allocations: 0 / 0.7931 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3222, allocations: 3.938 kB / 0.7931 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.3224, allocations: 67.84 kB / 0.7932 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.3224, allocations: 4 kB / 0.7932 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.3226, allocations: 31.73 kB / 0.7932 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.3226, allocations: 12 kB / 0.7932 GB, free: 3.082 MB / 0.6075 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.0001677/0.3228, allocations: 165.7 kB / 0.7934 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.318e-05/0.3229, allocations: 23.72 kB / 0.7934 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.015e-05/0.323, allocations: 42.95 kB / 0.7935 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.323, allocations: 7.938 kB / 0.7935 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.323, allocations: 3.938 kB / 0.7935 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.323, allocations: 4 kB / 0.7935 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003331/0.3233, allocations: 337.3 kB / 0.7938 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3233, allocations: 4 kB / 0.7938 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.3235, allocations: 59.91 kB / 0.7939 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.3235, allocations: 4 kB / 0.7939 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.3236, allocations: 8 kB / 0.7939 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3236, allocations: 3.938 kB / 0.7939 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3236, allocations: 0 / 0.7939 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000478/0.3241, allocations: 336.5 kB / 0.7942 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.3242, allocations: 140.7 kB / 0.7943 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.3242, allocations: 8 kB / 0.7943 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.3244, allocations: 27.91 kB / 0.7944 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.611e-05/0.3245, allocations: 23.97 kB / 0.7944 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.3245, allocations: 11.98 kB / 0.7944 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002041/0.3247, allocations: 236.5 kB / 0.7946 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3248, allocations: 0 / 0.7946 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002997/0.3251, allocations: 71.92 kB / 0.7947 GB, free: 1.496 MB / 0.6075 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.000959/0.326, allocations: 404.6 kB / 0.7951 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005312/0.3266, allocations: 299.6 kB / 0.7954 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.3266, allocations: 4 kB / 0.7954 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.3268, allocations: 127.8 kB / 0.7955 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.3271, allocations: 41.7 kB / 0.7955 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009075/0.328, allocations: 0.537 MB / 0.7961 GB, free: 228 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.3284, allocations: 0.7692 MB / 0.7968 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003203/0.3288, allocations: 142.9 kB / 0.7969 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.069e-05/0.3289, allocations: 43.36 kB / 0.797 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.3289, allocations: 0 / 0.797 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of Templates: time 0.007918/0.3368, allocations: 3.388 MB / 0.8003 GB, free: 11.89 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)