Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7608/0.7608, allocations: 143.4 MB / 159.2 MB, free: 4.836 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 179.5 kB / 191.9 MB, free: 5.695 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 447.3 MB, free: 5.855 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009856/0.0009858, allocations: 111.7 kB / 0.517 GB, free: 3.711 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002067/0.002067, allocations: 276.9 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 83.88 kB / 0.6886 GB, free: 3.828 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3099, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002501/0.3125, allocations: 1.668 MB / 0.7696 GB, free: 25.98 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.3139, allocations: 1.144 MB / 0.7707 GB, free: 24.83 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.837e-05/0.314, allocations: 0 / 0.7707 GB, free: 24.83 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.3142, allocations: 23.92 kB / 0.7707 GB, free: 24.81 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002312/0.3145, allocations: 51.83 kB / 0.7708 GB, free: 24.76 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.3148, allocations: 114.5 kB / 0.7709 GB, free: 24.65 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.315, allocations: 213.6 kB / 0.7711 GB, free: 24.44 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.229e-05/0.3151, allocations: 12 kB / 0.7711 GB, free: 24.43 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.396e-05/0.3152, allocations: 75.75 kB / 0.7711 GB, free: 24.36 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.3154, allocations: 91.77 kB / 0.7712 GB, free: 24.27 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.093e-05/0.3154, allocations: 8 kB / 0.7712 GB, free: 24.26 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.3156, allocations: 67.97 kB / 0.7713 GB, free: 24.19 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.948e-05/0.3156, allocations: 71.81 kB / 0.7714 GB, free: 24.12 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 8.094e-05/0.3157, allocations: 99.33 kB / 0.7715 GB, free: 24.02 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.316, allocations: 263.1 kB / 0.7717 GB, free: 23.77 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.316, allocations: 0 / 0.7717 GB, free: 23.77 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.316, allocations: 0 / 0.7717 GB, free: 23.77 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.316, allocations: 0 / 0.7717 GB, free: 23.77 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000659/0.3167, allocations: 0.5228 MB / 0.7722 GB, free: 23.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3167, allocations: 8.031 kB / 0.7722 GB, free: 23.19 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.11e-05/0.3168, allocations: 32.56 kB / 0.7723 GB, free: 23.16 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.3171, allocations: 255.8 kB / 0.7725 GB, free: 22.87 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.3171, allocations: 12.38 kB / 0.7725 GB, free: 22.86 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.3171, allocations: 12.38 kB / 0.7725 GB, free: 22.84 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.3174, allocations: 216.9 kB / 0.7727 GB, free: 22.61 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3175, allocations: 4 kB / 0.7728 GB, free: 22.61 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.3175, allocations: 8 kB / 0.7728 GB, free: 22.6 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.3175, allocations: 4 kB / 0.7728 GB, free: 22.6 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006578/0.3182, allocations: 0.7301 MB / 0.7735 GB, free: 21.87 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006829/0.3188, allocations: 0.5668 MB / 0.774 GB, free: 21.25 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/0.3192, allocations: 300.7 kB / 0.7743 GB, free: 20.95 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.3194, allocations: 113.3 kB / 0.7744 GB, free: 20.83 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.115e-05/0.3194, allocations: 20.25 kB / 0.7744 GB, free: 20.81 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002837/0.3197, allocations: 172.9 kB / 0.7746 GB, free: 20.63 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 1.683e-06/0.3197, allocations: 0 / 0.7746 GB, free: 20.63 MB / 458.7 MB Notification: Performance of matching and sorting (n=34): time 0.000526/0.3202, allocations: 370 kB / 0.775 GB, free: 20.27 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.3203, allocations: 136.5 kB / 0.7751 GB, free: 20.1 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.3205, allocations: 300 kB / 0.7754 GB, free: 19.79 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.3205, allocations: 29.7 kB / 0.7754 GB, free: 19.76 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.3206, allocations: 124.7 kB / 0.7755 GB, free: 19.63 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.924e-05/0.3206, allocations: 118.3 kB / 0.7756 GB, free: 19.52 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.455e-05/0.3207, allocations: 65.67 kB / 0.7757 GB, free: 19.45 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.505e-05/0.3208, allocations: 342.8 kB / 0.776 GB, free: 19.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.3209, allocations: 79.95 kB / 0.7761 GB, free: 19.02 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.3211, allocations: 131.4 kB / 0.7762 GB, free: 18.88 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.3213, allocations: 213.2 kB / 0.7764 GB, free: 18.67 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3214, allocations: 0 / 0.7764 GB, free: 18.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003346/0.3217, allocations: 280.9 kB / 0.7767 GB, free: 18.39 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.3217, allocations: 4.625 kB / 0.7767 GB, free: 18.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3217, allocations: 0 / 0.7767 GB, free: 18.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3217, allocations: 4 kB / 0.7767 GB, free: 18.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.3219, allocations: 59.91 kB / 0.7768 GB, free: 18.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.322, allocations: 0 / 0.7768 GB, free: 18.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.3221, allocations: 35.73 kB / 0.7768 GB, free: 18.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.3221, allocations: 11.98 kB / 0.7768 GB, free: 18.28 MB / 458.7 MB 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 (35): * Single equations (assignments): 35 * 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.0001054/0.3222, allocations: 169.7 kB / 0.777 GB, free: 18.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.985e-05/0.3223, allocations: 27.66 kB / 0.777 GB, free: 18.07 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005467/0.3228, allocations: 380.7 kB / 0.7774 GB, free: 17.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.3228, allocations: 4 kB / 0.7774 GB, free: 17.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3228, allocations: 0 / 0.7774 GB, free: 17.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3229, allocations: 3.984 kB / 0.7774 GB, free: 17.69 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.3231, allocations: 329.2 kB / 0.7777 GB, free: 17.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3231, allocations: 0 / 0.7777 GB, free: 17.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.3232, allocations: 59.91 kB / 0.7777 GB, free: 17.26 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3232, allocations: 0 / 0.7777 GB, free: 17.26 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.3233, allocations: 8 kB / 0.7777 GB, free: 17.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3233, allocations: 8 kB / 0.7778 GB, free: 17.25 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3233, allocations: 0 / 0.7778 GB, free: 17.25 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000637/0.3239, allocations: 1.019 MB / 0.7788 GB, free: 16.17 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-05/0.324, allocations: 144.7 kB / 0.7789 GB, free: 16.01 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.3241, allocations: 11.88 kB / 0.7789 GB, free: 16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.3242, allocations: 15.98 kB / 0.7789 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.3243, allocations: 23.97 kB / 0.7789 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.3243, allocations: 12 kB / 0.7789 GB, free: 15.95 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001346/0.3244, allocations: 237.6 kB / 0.7792 GB, free: 15.71 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3244, allocations: 3.938 kB / 0.7792 GB, free: 15.71 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003536/0.3248, allocations: 59.91 kB / 0.7792 GB, free: 15.65 MB / 458.7 MB 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 (34): * Single equations (assignments): 33 * 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.0008183/0.3256, allocations: 400.7 kB / 0.7796 GB, free: 15.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003077/0.3259, allocations: 220.4 kB / 0.7798 GB, free: 15.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.326, allocations: 0 / 0.7798 GB, free: 15.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.3261, allocations: 135.8 kB / 0.78 GB, free: 15.05 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.3264, allocations: 47.97 kB / 0.78 GB, free: 15.01 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007479/0.3271, allocations: 0.7932 MB / 0.7808 GB, free: 14.18 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.3273, allocations: 0.7579 MB / 0.7815 GB, free: 13.39 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002639/0.3276, allocations: 146.9 kB / 0.7817 GB, free: 13.25 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.937e-05/0.3276, allocations: 43.41 kB / 0.7817 GB, free: 13.2 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3276, allocations: 0 / 0.7817 GB, free: 13.2 MB / 458.7 MB Notification: Performance of Templates: time 0.005199/0.3328, allocations: 2.96 MB / 0.7846 GB, free: 10.27 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)