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.001508/0.001508, allocations: 102.7 kB / 16.36 MB, free: 6.305 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.001665/0.001665, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.472/1.472, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.807/1.807, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001458/0.001458, allocations: 67.91 kB / 0.6729 GB, free: 5.805 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2671, allocations: 114.6 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003644/0.2707, allocations: 1.851 MB / 0.7866 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4522/0.723, allocations: 1.492 MB / 0.7881 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.7232, allocations: 0 / 0.7881 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.7236, allocations: 30.06 kB / 0.7881 GB, free: 46.66 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.0003578/0.724, allocations: 71.5 kB / 0.7882 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004565/0.7245, allocations: 156 kB / 0.7883 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002993/0.7248, allocations: 274.1 kB / 0.7886 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.7249, allocations: 35.39 kB / 0.7886 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.333e-05/0.725, allocations: 89.62 kB / 0.7887 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.7252, allocations: 109.8 kB / 0.7888 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.7253, allocations: 20.55 kB / 0.7888 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.7254, allocations: 71.03 kB / 0.7889 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.7255, allocations: 89.66 kB / 0.789 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.7256, allocations: 117.3 kB / 0.7891 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.726, allocations: 314.6 kB / 0.7894 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.726, allocations: 0 / 0.7894 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.916e-06/0.726, allocations: 1.406 kB / 0.7894 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.615e-06/0.7261, allocations: 0 / 0.7894 GB, free: 46.55 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.0007468/0.7268, allocations: 0.5528 MB / 0.7899 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.7269, allocations: 17.31 kB / 0.7899 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.727, allocations: 28.56 kB / 0.79 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.7273, allocations: 274.6 kB / 0.7902 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.7273, allocations: 16.36 kB / 0.7902 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.7274, allocations: 15.59 kB / 0.7902 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/0.7277, allocations: 245.5 kB / 0.7905 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.7277, allocations: 0 / 0.7905 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.7278, allocations: 7.469 kB / 0.7905 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.7278, allocations: 2.438 kB / 0.7905 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007784/0.7286, allocations: 0.7444 MB / 0.7912 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009493/0.7295, allocations: 0.6256 MB / 0.7918 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004698/0.73, allocations: 304.8 kB / 0.7921 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.7302, allocations: 109.9 kB / 0.7922 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.413e-05/0.7303, allocations: 23.36 kB / 0.7922 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003499/0.7306, allocations: 185.9 kB / 0.7924 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=35): time 2.585e-06/0.7306, allocations: 3 kB / 0.7924 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35): time 0.0006475/0.7313, allocations: 381.3 kB / 0.7928 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/0.7314, allocations: 139.8 kB / 0.7929 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.7316, allocations: 308.2 kB / 0.7932 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.7316, allocations: 32.64 kB / 0.7932 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.444e-05/0.7317, allocations: 133.3 kB / 0.7934 GB, free: 45 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.956e-05/0.7318, allocations: 116.4 kB / 0.7935 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-05/0.7319, allocations: 66.81 kB / 0.7936 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.034e-05/0.732, allocations: 338.8 kB / 0.7939 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.7321, allocations: 85.16 kB / 0.794 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.7323, allocations: 120.1 kB / 0.7941 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.7326, allocations: 219 kB / 0.7943 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7326, allocations: 0 / 0.7943 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003758/0.7329, allocations: 279.1 kB / 0.7945 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.733, allocations: 10.3 kB / 0.7946 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.733, allocations: 0.8125 kB / 0.7946 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.733, allocations: 1.688 kB / 0.7946 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.7332, allocations: 64.92 kB / 0.7946 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.7332, allocations: 0.625 kB / 0.7946 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.7334, allocations: 30.41 kB / 0.7946 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.7334, allocations: 16.81 kB / 0.7947 GB, free: 44.48 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.0001374/0.7336, allocations: 165.4 kB / 0.7948 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/0.7336, allocations: 25.5 kB / 0.7948 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.923e-05/0.7337, allocations: 41.31 kB / 0.7949 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.7337, allocations: 7.312 kB / 0.7949 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.7337, allocations: 0.5938 kB / 0.7949 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.7337, allocations: 3.422 kB / 0.7949 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.734, allocations: 345.6 kB / 0.7952 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.734, allocations: 0 / 0.7952 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.7342, allocations: 67.84 kB / 0.7953 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.7342, allocations: 5.562 kB / 0.7953 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.7343, allocations: 4.344 kB / 0.7953 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.7343, allocations: 7.344 kB / 0.7953 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7343, allocations: 0 / 0.7953 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004283/0.7347, allocations: 328.6 kB / 0.7956 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.7348, allocations: 151.1 kB / 0.7958 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/0.7349, allocations: 3.312 kB / 0.7958 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.735, allocations: 30.45 kB / 0.7958 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.7351, allocations: 23.17 kB / 0.7958 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.7351, allocations: 10.38 kB / 0.7958 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001824/0.7353, allocations: 239.8 kB / 0.7961 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7353, allocations: 0 / 0.7961 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003099/0.7357, allocations: 74.09 kB / 0.7961 GB, free: 43.86 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.0009646/0.7366, allocations: 406.2 kB / 0.7965 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003885/0.737, allocations: 230.5 kB / 0.7967 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.737, allocations: 3.312 kB / 0.7967 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.7372, allocations: 128.9 kB / 0.7969 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.7375, allocations: 40.53 kB / 0.7969 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007341/0.7383, allocations: 0.5515 MB / 0.7974 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.7385, allocations: 0.7601 MB / 0.7982 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.822e-05/0.7386, allocations: 50.48 kB / 0.7982 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of SimCode: time 1.603e-06/0.7386, allocations: 4 kB / 0.7982 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.008782/0.7474, allocations: 4.458 MB / 0.8026 GB, free: 42.41 MB / 0.6544 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)