Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001089/0.001093, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.001064/0.001064, allocations: 191 kB / 17.29 MB, free: 5.516 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8093/0.8093, allocations: 132.2 MB / 423.3 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.91 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4388/0.44, allocations: 80.18 MB / 0.5815 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002824/0.4429, allocations: 1.621 MB / 0.5831 GB, free: 26.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.4444, allocations: 1.158 MB / 0.5842 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.365e-05/0.4445, allocations: 1.281 kB / 0.5842 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.4448, allocations: 25.7 kB / 0.5842 GB, free: 25.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002947/0.4451, allocations: 69.06 kB / 0.5843 GB, free: 25.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.4455, allocations: 133.4 kB / 0.5844 GB, free: 25.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.4457, allocations: 226.7 kB / 0.5846 GB, free: 25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.4459, allocations: 22.2 kB / 0.5847 GB, free: 24.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.446, allocations: 80.2 kB / 0.5847 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.4462, allocations: 93.08 kB / 0.5848 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.222e-05/0.4462, allocations: 14.59 kB / 0.5848 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.4464, allocations: 78.64 kB / 0.5849 GB, free: 24.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.925e-05/0.4465, allocations: 77.31 kB / 0.585 GB, free: 24.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.806e-05/0.4466, allocations: 98.77 kB / 0.5851 GB, free: 24.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.4468, allocations: 278 kB / 0.5854 GB, free: 24.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4469, allocations: 0.5625 kB / 0.5854 GB, free: 24.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4469, allocations: 5.406 kB / 0.5854 GB, free: 24.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.4469, allocations: 0.5938 kB / 0.5854 GB, free: 24.55 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.0006372/0.4475, allocations: 0.5309 MB / 0.5859 GB, free: 24.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.4476, allocations: 9.469 kB / 0.5859 GB, free: 24.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.889e-05/0.4476, allocations: 29.31 kB / 0.5859 GB, free: 24.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.4479, allocations: 261.8 kB / 0.5862 GB, free: 23.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.4479, allocations: 10.88 kB / 0.5862 GB, free: 23.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.4479, allocations: 13.5 kB / 0.5862 GB, free: 23.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.4483, allocations: 208.2 kB / 0.5864 GB, free: 23.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.4483, allocations: 0 / 0.5864 GB, free: 23.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.4483, allocations: 13.28 kB / 0.5864 GB, free: 23.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.4483, allocations: 7.922 kB / 0.5864 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008717/0.4492, allocations: 0.7371 MB / 0.5871 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008484/0.4501, allocations: 0.5577 MB / 0.5877 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000463/0.4505, allocations: 300 kB / 0.588 GB, free: 22.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.4507, allocations: 104.8 kB / 0.5881 GB, free: 22.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.68e-05/0.4508, allocations: 20.25 kB / 0.5881 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002878/0.451, allocations: 174.5 kB / 0.5882 GB, free: 22.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.763e-06/0.4511, allocations: 1.219 kB / 0.5882 GB, free: 22.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.000624/0.4517, allocations: 370.4 kB / 0.5886 GB, free: 22.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.4517, allocations: 136.9 kB / 0.5887 GB, free: 22.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.452, allocations: 300.5 kB / 0.589 GB, free: 21.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.452, allocations: 32.86 kB / 0.589 GB, free: 21.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.4521, allocations: 122.7 kB / 0.5892 GB, free: 21.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.34e-05/0.4522, allocations: 112.2 kB / 0.5893 GB, free: 21.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.579e-05/0.4523, allocations: 62.44 kB / 0.5893 GB, free: 21.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.9e-05/0.4523, allocations: 342.1 kB / 0.5897 GB, free: 21.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.4525, allocations: 80.95 kB / 0.5897 GB, free: 21.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.4526, allocations: 133.7 kB / 0.5899 GB, free: 21.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.4529, allocations: 211.5 kB / 0.5901 GB, free: 21.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4529, allocations: 4 kB / 0.5901 GB, free: 21.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003892/0.4533, allocations: 281.2 kB / 0.5903 GB, free: 20.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.4533, allocations: 4.656 kB / 0.5903 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4533, allocations: 0 / 0.5903 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.4534, allocations: 4.719 kB / 0.5903 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.4536, allocations: 59.91 kB / 0.5904 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.4536, allocations: 0.625 kB / 0.5904 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.4537, allocations: 33.61 kB / 0.5904 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.4537, allocations: 8 kB / 0.5904 GB, free: 20.77 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.0001129/0.4539, allocations: 169.7 kB / 0.5906 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.4539, allocations: 29.75 kB / 0.5906 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000572/0.4545, allocations: 376.8 kB / 0.591 GB, free: 20.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4545, allocations: 7.938 kB / 0.591 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4545, allocations: 0 / 0.591 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.4545, allocations: 0 / 0.591 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.4548, allocations: 335.5 kB / 0.5913 GB, free: 19.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4548, allocations: 3.938 kB / 0.5913 GB, free: 19.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.455, allocations: 59.91 kB / 0.5914 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.455, allocations: 0 / 0.5914 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.455, allocations: 12 kB / 0.5914 GB, free: 19.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.455, allocations: 0 / 0.5914 GB, free: 19.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.455, allocations: 0.7188 kB / 0.5914 GB, free: 19.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.4554, allocations: 330.8 kB / 0.5917 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.4555, allocations: 137.2 kB / 0.5918 GB, free: 19.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.4555, allocations: 4.047 kB / 0.5918 GB, free: 19.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.4557, allocations: 29.72 kB / 0.5919 GB, free: 19.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.4557, allocations: 19.97 kB / 0.5919 GB, free: 19.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.4558, allocations: 15.98 kB / 0.5919 GB, free: 19.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.4559, allocations: 230.4 kB / 0.5921 GB, free: 18.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4559, allocations: 0 / 0.5921 GB, free: 18.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.4562, allocations: 60.59 kB / 0.5922 GB, free: 18.89 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.0009083/0.4571, allocations: 402.2 kB / 0.5926 GB, free: 18.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003478/0.4575, allocations: 231.6 kB / 0.5928 GB, free: 18.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4575, allocations: 4 kB / 0.5928 GB, free: 18.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.4576, allocations: 131.2 kB / 0.5929 GB, free: 18.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.4579, allocations: 34.77 kB / 0.5929 GB, free: 18.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006927/0.4586, allocations: 0.4906 MB / 0.5934 GB, free: 17.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.4588, allocations: 0.7535 MB / 0.5942 GB, free: 17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002794/0.4591, allocations: 146.9 kB / 0.5943 GB, free: 16.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.3e-05/0.4592, allocations: 39.42 kB / 0.5943 GB, free: 16.84 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4592, allocations: 0 / 0.5943 GB, free: 16.84 MB / 446.1 MB Notification: Performance of Templates: time 0.006132/0.4653, allocations: 2.973 MB / 0.5972 GB, free: 13.94 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)