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.001386/0.001386, allocations: 105.6 kB / 16.27 MB, free: 5.984 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.001383/0.001383, allocations: 189 kB / 17.19 MB, free: 5.609 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.33/1.33, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7904/0.7904, allocations: 135.2 MB / 426.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 67.89 kB / 0.506 GB, free: 8.328 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3285, allocations: 80.92 MB / 0.5851 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002474/0.331, allocations: 1.618 MB / 0.5866 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.3322, allocations: 1.153 MB / 0.5878 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.052e-05/0.3323, allocations: 5.438 kB / 0.5878 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.3325, allocations: 23.66 kB / 0.5878 GB, free: 23.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.3327, allocations: 61.55 kB / 0.5879 GB, free: 23.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.333, allocations: 138.5 kB / 0.588 GB, free: 23.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.3332, allocations: 223.9 kB / 0.5882 GB, free: 22.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.705e-05/0.3333, allocations: 19.36 kB / 0.5882 GB, free: 22.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.346e-05/0.3334, allocations: 79.72 kB / 0.5883 GB, free: 22.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.3335, allocations: 90.72 kB / 0.5884 GB, free: 22.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.719e-05/0.3336, allocations: 15.81 kB / 0.5884 GB, free: 22.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.3337, allocations: 74.72 kB / 0.5885 GB, free: 22.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.946e-05/0.3338, allocations: 82.59 kB / 0.5886 GB, free: 22.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.629e-05/0.3339, allocations: 103.4 kB / 0.5887 GB, free: 22.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.3341, allocations: 268.5 kB / 0.5889 GB, free: 22.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3342, allocations: 0.625 kB / 0.5889 GB, free: 22.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3342, allocations: 0 / 0.5889 GB, free: 22.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.3342, allocations: 1.844 kB / 0.5889 GB, free: 22.52 MB / 446.1 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.0005815/0.3348, allocations: 0.526 MB / 0.5894 GB, free: 22.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.3348, allocations: 15.89 kB / 0.5894 GB, free: 22.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.987e-05/0.3349, allocations: 24.97 kB / 0.5895 GB, free: 22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.3351, allocations: 259.6 kB / 0.5897 GB, free: 21.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.3351, allocations: 15.41 kB / 0.5897 GB, free: 21.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.3351, allocations: 15.06 kB / 0.5897 GB, free: 21.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.3354, allocations: 214.3 kB / 0.5899 GB, free: 21.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3354, allocations: 1.438 kB / 0.5899 GB, free: 21.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.3355, allocations: 11.92 kB / 0.59 GB, free: 21.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.3355, allocations: 4 kB / 0.59 GB, free: 21.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000576/0.336, allocations: 0.7333 MB / 0.5907 GB, free: 20.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006116/0.3367, allocations: 0.5651 MB / 0.5912 GB, free: 20.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.337, allocations: 305.2 kB / 0.5915 GB, free: 19.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.3372, allocations: 106.4 kB / 0.5916 GB, free: 19.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.683e-05/0.3372, allocations: 16.25 kB / 0.5916 GB, free: 19.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.3374, allocations: 175.4 kB / 0.5918 GB, free: 19.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/0.3375, allocations: 0 / 0.5918 GB, free: 19.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.0005005/0.338, allocations: 370 kB / 0.5922 GB, free: 19.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.338, allocations: 136.5 kB / 0.5923 GB, free: 19.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.3382, allocations: 300.9 kB / 0.5926 GB, free: 18.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.3382, allocations: 30.95 kB / 0.5926 GB, free: 18.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.3383, allocations: 120.7 kB / 0.5927 GB, free: 18.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/0.3383, allocations: 110.5 kB / 0.5928 GB, free: 18.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-05/0.3384, allocations: 66.59 kB / 0.5929 GB, free: 18.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.35e-05/0.3385, allocations: 340.3 kB / 0.5932 GB, free: 18.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.3386, allocations: 79.95 kB / 0.5933 GB, free: 17.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.3387, allocations: 132.6 kB / 0.5934 GB, free: 17.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.339, allocations: 209.1 kB / 0.5936 GB, free: 17.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.339, allocations: 0 / 0.5936 GB, free: 17.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003239/0.3393, allocations: 287.3 kB / 0.5939 GB, free: 17.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.3393, allocations: 4 kB / 0.5939 GB, free: 17.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.3393, allocations: 0 / 0.5939 GB, free: 17.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3394, allocations: 4 kB / 0.5939 GB, free: 17.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.3395, allocations: 63.91 kB / 0.594 GB, free: 17.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3396, allocations: 0 / 0.594 GB, free: 17.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.3397, allocations: 29.11 kB / 0.594 GB, free: 17.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.3397, allocations: 12 kB / 0.594 GB, free: 17.23 MB / 446.1 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.0001036/0.3398, allocations: 168.1 kB / 0.5942 GB, free: 17.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.3399, allocations: 23.72 kB / 0.5942 GB, free: 17.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005157/0.3404, allocations: 382.5 kB / 0.5945 GB, free: 16.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.3404, allocations: 4.562 kB / 0.5945 GB, free: 16.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3404, allocations: 0.5625 kB / 0.5945 GB, free: 16.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3404, allocations: 0 / 0.5945 GB, free: 16.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.3406, allocations: 341.9 kB / 0.5949 GB, free: 16.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3406, allocations: 3.938 kB / 0.5949 GB, free: 16.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.3408, allocations: 58.22 kB / 0.5949 GB, free: 16.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3408, allocations: 4.031 kB / 0.5949 GB, free: 16.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.3408, allocations: 8 kB / 0.5949 GB, free: 16.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.3408, allocations: 4 kB / 0.5949 GB, free: 16.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3408, allocations: 0 / 0.5949 GB, free: 16.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.3412, allocations: 323.1 kB / 0.5953 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.042e-05/0.3413, allocations: 144.7 kB / 0.5954 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.3413, allocations: 4 kB / 0.5954 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.3414, allocations: 17.36 kB / 0.5954 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.3415, allocations: 27.97 kB / 0.5954 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.3415, allocations: 14.05 kB / 0.5955 GB, free: 15.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.3416, allocations: 233.6 kB / 0.5957 GB, free: 15.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3417, allocations: 0 / 0.5957 GB, free: 15.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.3419, allocations: 55.94 kB / 0.5957 GB, free: 15.37 MB / 446.1 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.001227/0.3431, allocations: 409.5 kB / 0.5961 GB, free: 15.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003931/0.3435, allocations: 309.6 kB / 0.5964 GB, free: 14.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3436, allocations: 4 kB / 0.5964 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.3437, allocations: 134.2 kB / 0.5965 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.3439, allocations: 43.77 kB / 0.5966 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005906/0.3445, allocations: 0.5234 MB / 0.5971 GB, free: 14.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.3447, allocations: 0.7573 MB / 0.5978 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.222e-05/0.3448, allocations: 51.41 kB / 0.5979 GB, free: 13.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3448, allocations: 0 / 0.5979 GB, free: 13.29 MB / 446.1 MB Notification: Performance of Templates: time 0.004697/0.3495, allocations: 4.151 MB / 0.6019 GB, free: 9.207 MB / 446.1 MB 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)