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.001418/0.001418, allocations: 103.6 kB / 16.29 MB, free: 6.031 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.001304/0.001304, allocations: 187.3 kB / 17.22 MB, free: 5.633 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.445/1.445, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.886/1.886, allocations: 292.3 MB / 0.5495 GB, free: 17.41 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.001408/0.001408, allocations: 59.91 kB / 0.6722 GB, free: 6.496 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2832, allocations: 114.6 MB / 0.7841 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003608/0.2869, allocations: 1.852 MB / 0.7859 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00244/0.2893, allocations: 1.5 MB / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.2895, allocations: 0 / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.2898, allocations: 27.73 kB / 0.7874 GB, free: 424 kB / 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.0004045/0.2903, allocations: 75.53 kB / 0.7874 GB, free: 348 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005662/0.2908, allocations: 148.2 kB / 0.7876 GB, free: 204 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.5187/0.8096, allocations: 283.6 kB / 0.7879 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003537/0.81, allocations: 28.8 kB / 0.7879 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002987/0.8103, allocations: 97.33 kB / 0.788 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003734/0.8107, allocations: 105 kB / 0.7881 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.407e-05/0.8108, allocations: 19.69 kB / 0.7881 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002957/0.8111, allocations: 69.62 kB / 0.7882 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.8112, allocations: 83.66 kB / 0.7882 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.8114, allocations: 122.4 kB / 0.7884 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004572/0.8118, allocations: 316.7 kB / 0.7887 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.8118, allocations: 2.531 kB / 0.7887 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8119, allocations: 0 / 0.7887 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.8119, allocations: 0 / 0.7887 GB, free: 46.46 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.0008435/0.8127, allocations: 0.5544 MB / 0.7892 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.8128, allocations: 10.5 kB / 0.7892 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.813, allocations: 31.97 kB / 0.7892 GB, free: 46 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.8133, allocations: 273.6 kB / 0.7895 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.8133, allocations: 12.25 kB / 0.7895 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.8133, allocations: 20.81 kB / 0.7895 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004064/0.8137, allocations: 236.5 kB / 0.7898 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.8138, allocations: 2.656 kB / 0.7898 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.8138, allocations: 3.875 kB / 0.7898 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.8138, allocations: 8.281 kB / 0.7898 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009113/0.8147, allocations: 0.7514 MB / 0.7905 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009485/0.8157, allocations: 0.6267 MB / 0.7911 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000441/0.8161, allocations: 302 kB / 0.7914 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.8163, allocations: 107.1 kB / 0.7915 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.096e-05/0.8164, allocations: 24.03 kB / 0.7915 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003893/0.8167, allocations: 186.2 kB / 0.7917 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=35): time 1.714e-06/0.8168, allocations: 0.8438 kB / 0.7917 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35): time 0.0006128/0.8174, allocations: 380.5 kB / 0.7921 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.8175, allocations: 142.7 kB / 0.7922 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.8177, allocations: 312.7 kB / 0.7925 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.8178, allocations: 29.52 kB / 0.7925 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.018e-05/0.8178, allocations: 130.4 kB / 0.7927 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.352e-05/0.8179, allocations: 117.5 kB / 0.7928 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.79e-05/0.818, allocations: 65.48 kB / 0.7928 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.373e-05/0.8181, allocations: 343.7 kB / 0.7932 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.8182, allocations: 81.84 kB / 0.7932 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.8184, allocations: 122.4 kB / 0.7934 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.8187, allocations: 213.9 kB / 0.7936 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.8187, allocations: 1.812 kB / 0.7936 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004258/0.8191, allocations: 281.9 kB / 0.7938 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.8192, allocations: 3.469 kB / 0.7938 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.8192, allocations: 1.406 kB / 0.7938 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.8192, allocations: 3.469 kB / 0.7938 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.8194, allocations: 63.75 kB / 0.7939 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.8194, allocations: 3.938 kB / 0.7939 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.8196, allocations: 31.95 kB / 0.7939 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.8196, allocations: 13.94 kB / 0.794 GB, free: 44.39 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.0001452/0.8198, allocations: 164.3 kB / 0.7941 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.8198, allocations: 27.34 kB / 0.7941 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.82, allocations: 40.56 kB / 0.7942 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.82, allocations: 3.938 kB / 0.7942 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.82, allocations: 4.656 kB / 0.7942 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.82, allocations: 2.203 kB / 0.7942 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.8203, allocations: 345.3 kB / 0.7945 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8203, allocations: 0 / 0.7945 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.8205, allocations: 59.52 kB / 0.7946 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.8205, allocations: 9.125 kB / 0.7946 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.8205, allocations: 10.25 kB / 0.7946 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.8206, allocations: 3.969 kB / 0.7946 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.8206, allocations: 5.406 kB / 0.7946 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004323/0.821, allocations: 331.1 kB / 0.7949 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.8211, allocations: 147 kB / 0.7951 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.8212, allocations: 4.562 kB / 0.7951 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.8214, allocations: 29.92 kB / 0.7951 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.8214, allocations: 21.17 kB / 0.7951 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.8215, allocations: 19.86 kB / 0.7951 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000183/0.8217, allocations: 239.1 kB / 0.7954 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8217, allocations: 0 / 0.7954 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002904/0.822, allocations: 67.19 kB / 0.7954 GB, free: 43.77 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.001015/0.823, allocations: 403.6 kB / 0.7958 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003724/0.8234, allocations: 229.9 kB / 0.796 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.8234, allocations: 0 / 0.796 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.8236, allocations: 139.1 kB / 0.7962 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.8239, allocations: 41.84 kB / 0.7962 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007552/0.8246, allocations: 0.5212 MB / 0.7967 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.8249, allocations: 0.758 MB / 0.7974 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002982/0.8252, allocations: 147.7 kB / 0.7976 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.107e-05/0.8253, allocations: 42.2 kB / 0.7976 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of SimCode: time 3.51e-07/0.8253, allocations: 0 / 0.7976 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of Templates: time 0.008377/0.8336, allocations: 3.383 MB / 0.8009 GB, free: 42.5 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)