Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001158/0.001158, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001494/0.001494, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.3 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.037/1.037, allocations: 135.3 MB / 426.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003774, allocations: 11.94 kB / 0.507 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2301, allocations: 82.31 MB / 0.5874 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002711/0.2329, allocations: 1.305 MB / 0.5887 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.2348, allocations: 1.082 MB / 0.5897 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.2349, allocations: 4 kB / 0.5897 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.2352, allocations: 23.86 kB / 0.5897 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003971/0.2356, allocations: 51.77 kB / 0.5898 GB, free: 0.543 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005095/0.2362, allocations: 119.7 kB / 0.5899 GB, free: 440 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.2365, allocations: 185.7 kB / 0.5901 GB, free: 256 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.2367, allocations: 19.98 kB / 0.5901 GB, free: 236 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.2369, allocations: 63.83 kB / 0.5902 GB, free: 172 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003172/0.2372, allocations: 79.77 kB / 0.5902 GB, free: 92 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.275e-05/0.2373, allocations: 8 kB / 0.5902 GB, free: 84 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002308/0.2375, allocations: 67.91 kB / 0.5903 GB, free: 16 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.2376, allocations: 71.92 kB / 0.5904 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.466e-05/0.2377, allocations: 53.58 kB / 0.5904 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.238, allocations: 187.7 kB / 0.5906 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/0.238, allocations: 4 kB / 0.5906 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2381, allocations: 4 kB / 0.5906 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.2381, allocations: 4 kB / 0.5906 GB, free: 15.69 MB / 0.4981 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.0008434/0.2389, allocations: 483.4 kB / 0.5911 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.239, allocations: 12.02 kB / 0.5911 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.846e-05/0.2391, allocations: 23.72 kB / 0.5911 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.2394, allocations: 254.5 kB / 0.5914 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.2395, allocations: 12 kB / 0.5914 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.2395, allocations: 12 kB / 0.5914 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003905/0.2399, allocations: 220.8 kB / 0.5916 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.2399, allocations: 0 / 0.5916 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.24, allocations: 4 kB / 0.5916 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.24, allocations: 4 kB / 0.5916 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008816/0.2409, allocations: 0.7334 MB / 0.5923 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009686/0.2418, allocations: 0.5629 MB / 0.5929 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004917/0.2423, allocations: 303.6 kB / 0.5931 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.2425, allocations: 109.3 kB / 0.5933 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.937e-05/0.2426, allocations: 20.23 kB / 0.5933 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003511/0.2429, allocations: 176.9 kB / 0.5934 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.593e-06/0.2429, allocations: 0 / 0.5934 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0006676/0.2436, allocations: 361.7 kB / 0.5938 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.804e-05/0.2437, allocations: 136.5 kB / 0.5939 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/0.244, allocations: 298.5 kB / 0.5942 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.2441, allocations: 33.7 kB / 0.5942 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.363e-05/0.2442, allocations: 120.8 kB / 0.5943 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.2443, allocations: 118.3 kB / 0.5945 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.458e-05/0.2443, allocations: 12 kB / 0.5945 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.2445, allocations: 334.8 kB / 0.5948 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.2446, allocations: 79.89 kB / 0.5949 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.2448, allocations: 124.3 kB / 0.595 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.245, allocations: 109.7 kB / 0.5951 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.245, allocations: 0 / 0.5951 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004302/0.2455, allocations: 281.8 kB / 0.5954 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.2455, allocations: 8 kB / 0.5954 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2455, allocations: 0 / 0.5954 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.2455, allocations: 0 / 0.5954 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.2458, allocations: 59.91 kB / 0.5954 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.2458, allocations: 4 kB / 0.5954 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.2459, allocations: 23.83 kB / 0.5955 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.246, allocations: 23.94 kB / 0.5955 GB, free: 10.44 MB / 0.4981 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 (35): * Single equations (assignments): 35 * 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.0001764/0.2461, allocations: 161.8 kB / 0.5956 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.633e-05/0.2462, allocations: 27.62 kB / 0.5957 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006758/0.2469, allocations: 380.3 kB / 0.596 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.2469, allocations: 4 kB / 0.596 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2469, allocations: 0 / 0.596 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.2469, allocations: 3.984 kB / 0.596 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.2473, allocations: 325.3 kB / 0.5963 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.2473, allocations: 4 kB / 0.5963 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.2475, allocations: 63.91 kB / 0.5964 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.2475, allocations: 0 / 0.5964 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.2475, allocations: 8 kB / 0.5964 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.2475, allocations: 4 kB / 0.5964 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2475, allocations: 3.938 kB / 0.5964 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000471/0.248, allocations: 323 kB / 0.5967 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.2481, allocations: 148.5 kB / 0.5969 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.921e-05/0.2482, allocations: 15.98 kB / 0.5969 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.2483, allocations: 17.88 kB / 0.5969 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.95e-05/0.2484, allocations: 27.95 kB / 0.5969 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.2484, allocations: 12 kB / 0.5969 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000215/0.2487, allocations: 232.4 kB / 0.5972 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2487, allocations: 0 / 0.5972 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002975/0.249, allocations: 56 kB / 0.5972 GB, free: 8.559 MB / 0.4981 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 (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.0009776/0.25, allocations: 404.6 kB / 0.5976 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004318/0.2504, allocations: 223.8 kB / 0.5978 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2504, allocations: 0 / 0.5978 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.2506, allocations: 127.8 kB / 0.5979 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.2509, allocations: 36.61 kB / 0.598 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008919/0.2518, allocations: 0.5507 MB / 0.5985 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.2522, allocations: 0.7581 MB / 0.5992 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003191/0.2525, allocations: 146.8 kB / 0.5994 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.773e-05/0.2526, allocations: 39.42 kB / 0.5994 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.2526, allocations: 0 / 0.5994 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of Templates: time 0.006969/0.2596, allocations: 2.767 MB / 0.6021 GB, free: 3.641 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)