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.001679/0.001679, 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.001617/0.001617, allocations: 193.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.004/1.004, allocations: 135.6 MB / 426 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 64.91 kB / 0.5059 GB, free: 4.844 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2232, allocations: 81.03 MB / 0.585 GB, free: 3.941 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.004387/0.2276, allocations: 1.605 MB / 0.5866 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.2299, allocations: 1.164 MB / 0.5877 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.2301, allocations: 4 kB / 0.5877 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.2304, allocations: 23.86 kB / 0.5877 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004074/0.2308, allocations: 67.44 kB / 0.5878 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005481/0.2314, allocations: 127.6 kB / 0.5879 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004239/0.2318, allocations: 225.7 kB / 0.5881 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.232, allocations: 20 kB / 0.5881 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.2322, allocations: 83.8 kB / 0.5882 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003648/0.2326, allocations: 79.8 kB / 0.5883 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.024e-05/0.2326, allocations: 23.92 kB / 0.5883 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002315/0.2329, allocations: 79.97 kB / 0.5884 GB, free: 444 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.233, allocations: 79.75 kB / 0.5885 GB, free: 364 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.2332, allocations: 99.39 kB / 0.5886 GB, free: 264 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005383/0.2337, allocations: 271.5 kB / 0.5888 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.2338, allocations: 4 kB / 0.5888 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2338, allocations: 0 / 0.5888 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.2338, allocations: 0 / 0.5888 GB, free: 15.98 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.001094/0.2349, allocations: 0.5228 MB / 0.5893 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.235, allocations: 8.031 kB / 0.5893 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.2351, allocations: 24.66 kB / 0.5894 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004531/0.2355, allocations: 259.8 kB / 0.5896 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.2356, allocations: 12.38 kB / 0.5896 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.83e-05/0.2357, allocations: 20.25 kB / 0.5896 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000492/0.2362, allocations: 220.9 kB / 0.5899 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.2362, allocations: 0 / 0.5899 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.2362, allocations: 4 kB / 0.5899 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.2363, allocations: 4 kB / 0.5899 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.2374, allocations: 0.7334 MB / 0.5906 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.2385, allocations: 0.5667 MB / 0.5911 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005204/0.2391, allocations: 304.1 kB / 0.5914 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.2393, allocations: 105.4 kB / 0.5915 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.328e-05/0.2393, allocations: 20.25 kB / 0.5915 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000418/0.2397, allocations: 180.9 kB / 0.5917 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.365e-06/0.2398, allocations: 0 / 0.5917 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0007439/0.2405, allocations: 363.2 kB / 0.5921 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.2406, allocations: 132.5 kB / 0.5922 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.241, allocations: 297.4 kB / 0.5925 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.241, allocations: 33.7 kB / 0.5925 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.2411, allocations: 124.7 kB / 0.5926 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.2412, allocations: 110.4 kB / 0.5927 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.2413, allocations: 69.69 kB / 0.5928 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002077/0.2416, allocations: 338.8 kB / 0.5931 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.2417, allocations: 83.89 kB / 0.5932 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.2419, allocations: 128.8 kB / 0.5933 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.2423, allocations: 218.5 kB / 0.5935 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2423, allocations: 0 / 0.5935 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004614/0.2427, allocations: 281.1 kB / 0.5938 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.2428, allocations: 8 kB / 0.5938 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.2428, allocations: 3.984 kB / 0.5938 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.2428, allocations: 4 kB / 0.5938 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.243, allocations: 55.91 kB / 0.5939 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.2431, allocations: 4 kB / 0.5939 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.2432, allocations: 27.83 kB / 0.5939 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.2432, allocations: 11.98 kB / 0.5939 GB, free: 10.5 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 (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.000185/0.2434, allocations: 171 kB / 0.5941 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/0.2435, allocations: 27.72 kB / 0.5941 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000718/0.2442, allocations: 380.7 kB / 0.5945 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.2442, allocations: 4 kB / 0.5945 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.2443, allocations: 3.938 kB / 0.5945 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2443, allocations: 0 / 0.5945 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004031/0.2447, allocations: 333.1 kB / 0.5948 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2447, allocations: 0 / 0.5948 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.2449, allocations: 63.91 kB / 0.5949 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2449, allocations: 4 kB / 0.5949 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.2449, allocations: 8 kB / 0.5949 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.2449, allocations: 7.938 kB / 0.5949 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2449, allocations: 0 / 0.5949 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004939/0.2454, allocations: 313.7 kB / 0.5952 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/0.2456, allocations: 148.6 kB / 0.5953 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/0.2456, allocations: 8 kB / 0.5953 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.2458, allocations: 19.98 kB / 0.5953 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.639e-05/0.2459, allocations: 23.97 kB / 0.5954 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.2459, allocations: 15.98 kB / 0.5954 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000235/0.2461, allocations: 229.6 kB / 0.5956 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2461, allocations: 3.938 kB / 0.5956 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003148/0.2465, allocations: 59.94 kB / 0.5957 GB, free: 8.613 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 (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.001382/0.2479, allocations: 397.8 kB / 0.596 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005719/0.2484, allocations: 296.3 kB / 0.5963 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2484, allocations: 4 kB / 0.5963 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.2487, allocations: 135.8 kB / 0.5964 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.249, allocations: 41.14 kB / 0.5965 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009111/0.2499, allocations: 0.4932 MB / 0.597 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.2503, allocations: 0.7542 MB / 0.5977 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003124/0.2506, allocations: 142.9 kB / 0.5978 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.119e-05/0.2507, allocations: 47.34 kB / 0.5979 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of SimCode: time 7.71e-07/0.2507, allocations: 0 / 0.5979 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of Templates: time 0.007447/0.2582, allocations: 2.965 MB / 0.6008 GB, free: 3.48 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)