Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.901/1.901, allocations: 288.3 MB / 303.2 MB, free: 8.086 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001746/0.001745, allocations: 194.4 kB / 371.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.4 MB / 0.6306 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008665/0.0008664, allocations: 106 kB / 0.7439 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003644, allocations: 16.38 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2292, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002103/0.2313, allocations: 1.517 MB / 0.9809 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.2332, allocations: 1.359 MB / 0.9822 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.2334, allocations: 8 kB / 0.9822 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.2336, allocations: 27.78 kB / 0.9823 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003478/0.234, allocations: 65.41 kB / 0.9823 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.2344, allocations: 130.1 kB / 0.9825 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000251/0.2347, allocations: 177.7 kB / 0.9826 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.2348, allocations: 33.36 kB / 0.9827 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.2349, allocations: 71.83 kB / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.2351, allocations: 75.8 kB / 0.9828 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/0.2352, allocations: 8 kB / 0.9828 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.2354, allocations: 51.84 kB / 0.9829 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.113e-05/0.2355, allocations: 71.8 kB / 0.9829 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.575e-05/0.2356, allocations: 61.58 kB / 0.983 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.2359, allocations: 215.5 kB / 0.9832 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2359, allocations: 0 / 0.9832 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.966e-06/0.2359, allocations: 4 kB / 0.9832 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.2359, allocations: 0 / 0.9832 GB, free: 23.84 MB / 0.6198 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.0008192/0.2367, allocations: 0.4992 MB / 0.9837 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2368, allocations: 12.02 kB / 0.9837 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.237, allocations: 31.67 kB / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.2373, allocations: 273.5 kB / 0.984 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.2373, allocations: 16 kB / 0.984 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.2374, allocations: 12 kB / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003826/0.2378, allocations: 236.8 kB / 0.9842 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.2378, allocations: 0 / 0.9842 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.2378, allocations: 8 kB / 0.9842 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.2378, allocations: 4 kB / 0.9842 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007433/0.2386, allocations: 0.7419 MB / 0.985 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.2397, allocations: 0.6494 MB / 0.9856 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004114/0.2401, allocations: 301.9 kB / 0.9859 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.387e-05/0.2401, allocations: 16.25 kB / 0.9859 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003003/0.2404, allocations: 183.4 kB / 0.9861 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=35): time 2.404e-06/0.2405, allocations: 4 kB / 0.9861 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35): time 0.0005768/0.241, allocations: 364.9 kB / 0.9864 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.2411, allocations: 144.4 kB / 0.9866 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.2413, allocations: 309 kB / 0.9869 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.2414, allocations: 33.7 kB / 0.9869 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.086e-05/0.2415, allocations: 132.6 kB / 0.987 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.186e-05/0.2415, allocations: 118.3 kB / 0.9871 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.212e-05/0.2416, allocations: 4 kB / 0.9871 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.651e-05/0.2416, allocations: 334.8 kB / 0.9875 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.2418, allocations: 79.95 kB / 0.9875 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.2419, allocations: 127.4 kB / 0.9877 GB, free: 19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.2421, allocations: 101.8 kB / 0.9878 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2421, allocations: 0 / 0.9878 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003547/0.2424, allocations: 288.8 kB / 0.988 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.2425, allocations: 7.953 kB / 0.988 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.2425, allocations: 3.938 kB / 0.988 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.2425, allocations: 4 kB / 0.988 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.2427, allocations: 67.91 kB / 0.9881 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.2427, allocations: 4 kB / 0.9881 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.2429, allocations: 35.67 kB / 0.9881 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.2429, allocations: 12 kB / 0.9882 GB, free: 18.48 MB / 0.6198 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.2431, allocations: 165.7 kB / 0.9883 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.2431, allocations: 27.72 kB / 0.9883 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005624/0.2437, allocations: 392.4 kB / 0.9887 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2437, allocations: 4 kB / 0.9887 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2437, allocations: 4 kB / 0.9887 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2437, allocations: 0 / 0.9887 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.244, allocations: 337.3 kB / 0.989 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.244, allocations: 0 / 0.989 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.2442, allocations: 59.91 kB / 0.9891 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2442, allocations: 48 / 0.9891 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.2442, allocations: 11.98 kB / 0.9891 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.2442, allocations: 7.953 kB / 0.9891 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2442, allocations: 4 kB / 0.9891 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003562/0.2446, allocations: 330 kB / 0.9894 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.2447, allocations: 148.6 kB / 0.9896 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.154e-05/0.2447, allocations: 12 kB / 0.9896 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.2449, allocations: 27.98 kB / 0.9896 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.245, allocations: 31.91 kB / 0.9897 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.245, allocations: 12 kB / 0.9897 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001486/0.2452, allocations: 236.4 kB / 0.9899 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2452, allocations: 0 / 0.9899 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002738/0.2454, allocations: 71.92 kB / 0.99 GB, free: 16.54 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008532/0.2463, allocations: 412 kB / 0.9904 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003182/0.2466, allocations: 223.7 kB / 0.9906 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2467, allocations: 0 / 0.9906 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.2468, allocations: 135.8 kB / 0.9907 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.247, allocations: 32.41 kB / 0.9907 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008114/0.2479, allocations: 0.5932 MB / 0.9913 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.2481, allocations: 0.7731 MB / 0.9921 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003088/0.2484, allocations: 146.8 kB / 0.9922 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.8e-05/0.2485, allocations: 43.42 kB / 0.9922 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of SimCode: time 3.9e-07/0.2485, allocations: 0 / 0.9922 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of Templates: time 0.00662/0.2552, allocations: 3.148 MB / 0.9953 GB, free: 11.17 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)