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.0014/0.0014, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00159/0.00159, allocations: 191.9 kB / 16.25 MB, free: 6.625 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.568/1.568, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.671/1.671, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.001516/0.001517, allocations: 67.14 kB / 0.671 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2665, allocations: 114.5 MB / 0.7829 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004298/0.2709, allocations: 1.921 MB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00244/0.2733, allocations: 1.465 MB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.2735, allocations: 0 / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.2738, allocations: 27.84 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000403/0.2743, allocations: 59.75 kB / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.2747, allocations: 142.5 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003338/0.2751, allocations: 273.4 kB / 0.7866 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.2752, allocations: 33.31 kB / 0.7867 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.2754, allocations: 91.83 kB / 0.7868 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.2756, allocations: 107.6 kB / 0.7869 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.558e-05/0.2757, allocations: 20 kB / 0.7869 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.2759, allocations: 71.98 kB / 0.787 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.276, allocations: 87.73 kB / 0.787 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.2761, allocations: 119.3 kB / 0.7871 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004583/0.2766, allocations: 303 kB / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.2766, allocations: 0 / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2766, allocations: 0 / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.2766, allocations: 0 / 0.7874 GB, free: 9.148 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.000939/0.2776, allocations: 0.5577 MB / 0.788 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.2776, allocations: 8.031 kB / 0.788 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.2778, allocations: 32.66 kB / 0.788 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.2781, allocations: 274.7 kB / 0.7883 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.2782, allocations: 16.16 kB / 0.7883 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.2782, allocations: 32.05 kB / 0.7883 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003929/0.2786, allocations: 229.4 kB / 0.7885 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.2786, allocations: 3.938 kB / 0.7886 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.2787, allocations: 4 kB / 0.7886 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.2787, allocations: 12 kB / 0.7886 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008403/0.2795, allocations: 0.7449 MB / 0.7893 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.2806, allocations: 0.6254 MB / 0.7899 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005346/0.2812, allocations: 302 kB / 0.7902 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.2814, allocations: 113.4 kB / 0.7903 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.188e-05/0.2814, allocations: 16.25 kB / 0.7903 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004327/0.2819, allocations: 180 kB / 0.7905 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=35): time 1.904e-06/0.2819, allocations: 0 / 0.7905 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.0007277/0.2826, allocations: 390 kB / 0.7909 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.882e-05/0.2827, allocations: 136.4 kB / 0.791 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.2831, allocations: 309 kB / 0.7913 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.2831, allocations: 33.7 kB / 0.7913 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.84e-05/0.2832, allocations: 136.6 kB / 0.7914 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.2833, allocations: 118.3 kB / 0.7916 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.2835, allocations: 61.69 kB / 0.7916 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.2836, allocations: 338.8 kB / 0.7919 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.2838, allocations: 83.95 kB / 0.792 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.284, allocations: 127.4 kB / 0.7921 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.2843, allocations: 218.2 kB / 0.7924 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2843, allocations: 0 / 0.7924 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004685/0.2848, allocations: 277.2 kB / 0.7926 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.2848, allocations: 8 kB / 0.7926 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2848, allocations: 0 / 0.7926 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.2848, allocations: 3.938 kB / 0.7926 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.2851, allocations: 67.91 kB / 0.7927 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.2851, allocations: 4 kB / 0.7927 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.2853, allocations: 27.73 kB / 0.7927 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.2853, allocations: 8 kB / 0.7927 GB, free: 3.449 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.0001739/0.2855, allocations: 165.7 kB / 0.7929 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/0.2855, allocations: 31.66 kB / 0.7929 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006692/0.2862, allocations: 392.8 kB / 0.7933 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.974e-06/0.2862, allocations: 7.938 kB / 0.7933 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2862, allocations: 3.938 kB / 0.7933 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.2863, allocations: 0 / 0.7933 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/0.2866, allocations: 345.2 kB / 0.7936 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.2866, allocations: 0 / 0.7936 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.2868, allocations: 59.91 kB / 0.7937 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.2868, allocations: 4 kB / 0.7937 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.2868, allocations: 8 kB / 0.7937 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.2868, allocations: 3.938 kB / 0.7937 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2868, allocations: 4 kB / 0.7937 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004659/0.2873, allocations: 325.9 kB / 0.794 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.2875, allocations: 140.7 kB / 0.7942 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.2875, allocations: 8 kB / 0.7942 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.2877, allocations: 27.91 kB / 0.7942 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.68e-05/0.2878, allocations: 23.97 kB / 0.7942 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.2878, allocations: 16.03 kB / 0.7942 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000213/0.288, allocations: 240.4 kB / 0.7945 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.288, allocations: 0 / 0.7945 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003298/0.2884, allocations: 67.84 kB / 0.7945 GB, free: 1.512 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.0009945/0.2894, allocations: 410.8 kB / 0.7949 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005629/0.29, allocations: 299.6 kB / 0.7952 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.29, allocations: 4 kB / 0.7952 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.2902, allocations: 132.6 kB / 0.7953 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.2905, allocations: 41.17 kB / 0.7954 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009021/0.2914, allocations: 0.6158 MB / 0.796 GB, free: 152 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.2917, allocations: 0.7575 MB / 0.7967 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000337/0.2921, allocations: 146.8 kB / 0.7968 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.873e-05/0.2922, allocations: 51.36 kB / 0.7969 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of SimCode: time 4.4e-07/0.2922, allocations: 0 / 0.7969 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of Templates: time 0.007487/0.2997, allocations: 3.371 MB / 0.8002 GB, free: 11.84 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)