Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.455/1.455, allocations: 205.1 MB / 222.4 MB, free: 4.551 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.818/1.818, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001465/0.001465, allocations: 71.14 kB / 0.6715 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2222, allocations: 114.6 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003059/0.2254, allocations: 1.604 MB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.2269, allocations: 1.083 MB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.227, allocations: 0 / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.2272, allocations: 27.78 kB / 0.786 GB, free: 10.74 MB / 0.6075 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.0002687/0.2275, allocations: 66.94 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.2278, allocations: 111.7 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.2281, allocations: 221.7 kB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.2282, allocations: 24.25 kB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.996e-05/0.2283, allocations: 79.77 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.2285, allocations: 87.77 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.591e-05/0.2286, allocations: 16 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.2287, allocations: 63.98 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.407e-05/0.2288, allocations: 71.81 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.2289, allocations: 107.3 kB / 0.7868 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.2292, allocations: 259.2 kB / 0.7871 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2292, allocations: 4 kB / 0.7871 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2292, allocations: 0 / 0.7871 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.2292, allocations: 0 / 0.7871 GB, free: 9.652 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007585/0.23, allocations: 0.5228 MB / 0.7876 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.23, allocations: 8.031 kB / 0.7876 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.206e-05/0.2301, allocations: 24.66 kB / 0.7876 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.2304, allocations: 267.7 kB / 0.7879 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.2304, allocations: 12.36 kB / 0.7879 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.2305, allocations: 12.38 kB / 0.7879 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.2308, allocations: 217.5 kB / 0.7881 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2309, allocations: 0 / 0.7881 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.2309, allocations: 8 kB / 0.7881 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.2309, allocations: 4 kB / 0.7881 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008719/0.2318, allocations: 0.734 MB / 0.7888 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008738/0.2327, allocations: 0.5668 MB / 0.7894 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000473/0.2331, allocations: 299.6 kB / 0.7897 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.2333, allocations: 101.4 kB / 0.7898 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.375e-05/0.2334, allocations: 24.23 kB / 0.7898 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003552/0.2337, allocations: 176.9 kB / 0.79 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=34): time 1.734e-06/0.2337, allocations: 0 / 0.79 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34): time 0.0006573/0.2344, allocations: 375 kB / 0.7903 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.387e-05/0.2345, allocations: 132.5 kB / 0.7905 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.2348, allocations: 300 kB / 0.7907 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.2348, allocations: 33.64 kB / 0.7908 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.102e-05/0.2349, allocations: 124.7 kB / 0.7909 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.991e-05/0.235, allocations: 114.4 kB / 0.791 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.763e-05/0.2351, allocations: 65.69 kB / 0.7911 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2353, allocations: 342.8 kB / 0.7914 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.2354, allocations: 79.95 kB / 0.7915 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.2356, allocations: 127.8 kB / 0.7916 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.236, allocations: 208.9 kB / 0.7918 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.236, allocations: 4 kB / 0.7918 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004272/0.2364, allocations: 281.6 kB / 0.7921 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.2364, allocations: 8.938 kB / 0.7921 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2364, allocations: 3.938 kB / 0.7921 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.2365, allocations: 4 kB / 0.7921 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.2367, allocations: 59.91 kB / 0.7921 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.2367, allocations: 0 / 0.7921 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.2369, allocations: 31.73 kB / 0.7922 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.2369, allocations: 8 kB / 0.7922 GB, free: 4.172 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 (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.0001688/0.2371, allocations: 165.7 kB / 0.7923 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.466e-05/0.2371, allocations: 31.7 kB / 0.7924 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005455/0.2377, allocations: 308.1 kB / 0.7927 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.2377, allocations: 4 kB / 0.7927 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2377, allocations: 0 / 0.7927 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2377, allocations: 4 kB / 0.7927 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.2381, allocations: 333.2 kB / 0.793 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2381, allocations: 4 kB / 0.793 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.2383, allocations: 59.91 kB / 0.793 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2383, allocations: 4 kB / 0.793 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.2383, allocations: 8 kB / 0.7931 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2383, allocations: 0 / 0.7931 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2383, allocations: 0 / 0.7931 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004696/0.2388, allocations: 329 kB / 0.7934 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.2389, allocations: 140.6 kB / 0.7935 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/0.239, allocations: 8 kB / 0.7935 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.2391, allocations: 19.98 kB / 0.7935 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.688e-05/0.2392, allocations: 19.97 kB / 0.7935 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.2392, allocations: 19.98 kB / 0.7936 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000204/0.2395, allocations: 225.6 kB / 0.7938 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2395, allocations: 0 / 0.7938 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003247/0.2398, allocations: 63.92 kB / 0.7938 GB, free: 2.359 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 (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.001082/0.2409, allocations: 398.7 kB / 0.7942 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000562/0.2415, allocations: 303.9 kB / 0.7945 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2415, allocations: 4 kB / 0.7945 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.2417, allocations: 131.8 kB / 0.7946 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.242, allocations: 46.97 kB / 0.7947 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008863/0.2429, allocations: 0.4971 MB / 0.7952 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.2433, allocations: 0.7535 MB / 0.7959 GB, free: 340 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003183/0.2436, allocations: 146.9 kB / 0.796 GB, free: 188 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.989e-05/0.2437, allocations: 43.41 kB / 0.7961 GB, free: 144 kB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2437, allocations: 0 / 0.7961 GB, free: 144 kB / 0.6075 GB Notification: Performance of Templates: time 0.006676/0.2504, allocations: 2.961 MB / 0.799 GB, free: 13.19 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)