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.001104/0.001104, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009266/0.009266, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.454/1.454, allocations: 223.3 MB / 240.3 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8051/0.8051, allocations: 132.3 MB / 423.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003714, allocations: 16 kB / 0.504 GB, free: 3.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5397/0.5401, allocations: 81.58 MB / 0.5837 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002042/0.5422, allocations: 1.335 MB / 0.585 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.5439, allocations: 1.116 MB / 0.5861 GB, free: 2.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.032e-05/0.544, allocations: 6.688 kB / 0.5861 GB, free: 2.246 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002289/0.5442, allocations: 22.19 kB / 0.5861 GB, free: 2.234 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.5444, allocations: 53.58 kB / 0.5862 GB, free: 2.203 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.5448, allocations: 119.8 kB / 0.5863 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003217/0.5451, allocations: 204.5 kB / 0.5865 GB, free: 2.066 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.5453, allocations: 17.66 kB / 0.5865 GB, free: 2.062 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.5454, allocations: 74.52 kB / 0.5866 GB, free: 2.031 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.5456, allocations: 80.53 kB / 0.5866 GB, free: 2.004 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.5457, allocations: 8.438 kB / 0.5866 GB, free: 2.004 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.5458, allocations: 67.45 kB / 0.5867 GB, free: 1.984 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.5459, allocations: 77.5 kB / 0.5868 GB, free: 1.949 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.5461, allocations: 116 kB / 0.5869 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.5464, allocations: 252.5 kB / 0.5871 GB, free: 1.773 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5464, allocations: 0.5312 kB / 0.5871 GB, free: 1.773 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5464, allocations: 0 / 0.5871 GB, free: 1.773 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.5465, allocations: 5.281 kB / 0.5871 GB, free: 1.77 MB / 430.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.0006627/0.5471, allocations: 490 kB / 0.5876 GB, free: 1.316 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.5472, allocations: 9.641 kB / 0.5876 GB, free: 1.316 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.54e-05/0.5473, allocations: 25 kB / 0.5876 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.5475, allocations: 258.8 kB / 0.5879 GB, free: 1.062 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.5476, allocations: 10.81 kB / 0.5879 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.5476, allocations: 19.69 kB / 0.5879 GB, free: 1.051 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003507/0.548, allocations: 212.3 kB / 0.5881 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.548, allocations: 0.9688 kB / 0.5881 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.548, allocations: 13.22 kB / 0.5881 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.548, allocations: 4.094 kB / 0.5881 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.5491, allocations: 0.7367 MB / 0.5888 GB, free: 0.832 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009307/0.5501, allocations: 0.5615 MB / 0.5894 GB, free: 448 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005325/0.5506, allocations: 297.7 kB / 0.5897 GB, free: 344 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.5508, allocations: 102.6 kB / 0.5898 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.989e-05/0.5509, allocations: 21.41 kB / 0.5898 GB, free: 296 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003792/0.5513, allocations: 182.4 kB / 0.59 GB, free: 200 kB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 1.994e-06/0.5513, allocations: 0 / 0.59 GB, free: 200 kB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007155/0.552, allocations: 369.9 kB / 0.5903 GB, free: 56 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.5521, allocations: 133.3 kB / 0.5905 GB, free: 15.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004838/0.5526, allocations: 300.4 kB / 0.5907 GB, free: 15.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.5527, allocations: 31.55 kB / 0.5908 GB, free: 15.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.989e-05/0.5528, allocations: 121.5 kB / 0.5909 GB, free: 15.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.5529, allocations: 115 kB / 0.591 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.837e-05/0.553, allocations: 33.91 kB / 0.591 GB, free: 15.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.5532, allocations: 337.4 kB / 0.5914 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.5534, allocations: 81.52 kB / 0.5914 GB, free: 15.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.5536, allocations: 129 kB / 0.5916 GB, free: 15.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.554, allocations: 212.7 kB / 0.5918 GB, free: 14.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.554, allocations: 0 / 0.5918 GB, free: 14.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005274/0.5546, allocations: 277 kB / 0.592 GB, free: 14.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.5546, allocations: 9.938 kB / 0.592 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.5546, allocations: 4 kB / 0.592 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.5547, allocations: 1.719 kB / 0.592 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.555, allocations: 63.2 kB / 0.5921 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.555, allocations: 2.016 kB / 0.5921 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.5551, allocations: 30.03 kB / 0.5921 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.5552, allocations: 19.09 kB / 0.5921 GB, free: 14.82 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.0001992/0.5554, allocations: 162.7 kB / 0.5923 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.924e-05/0.5555, allocations: 28.27 kB / 0.5923 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008243/0.5563, allocations: 380.9 kB / 0.5927 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.5563, allocations: 4.141 kB / 0.5927 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.5563, allocations: 0.5312 kB / 0.5927 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.5564, allocations: 2.531 kB / 0.5927 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004058/0.5568, allocations: 331.8 kB / 0.593 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5568, allocations: 3.938 kB / 0.593 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.557, allocations: 56.5 kB / 0.5931 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.557, allocations: 1.469 kB / 0.5931 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.557, allocations: 10.83 kB / 0.5931 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.557, allocations: 1.812 kB / 0.5931 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.557, allocations: 3.938 kB / 0.5931 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005109/0.5576, allocations: 323.9 kB / 0.5934 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.5577, allocations: 144.8 kB / 0.5935 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.363e-05/0.5578, allocations: 6.469 kB / 0.5935 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.5579, allocations: 20.16 kB / 0.5936 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/0.558, allocations: 25.25 kB / 0.5936 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/0.558, allocations: 15.25 kB / 0.5936 GB, free: 13.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002913/0.5583, allocations: 229.7 kB / 0.5938 GB, free: 13.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5583, allocations: 0 / 0.5938 GB, free: 13.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00034/0.5587, allocations: 64.11 kB / 0.5939 GB, free: 13.79 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.001079/0.5598, allocations: 411.5 kB / 0.5943 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004728/0.5603, allocations: 232.1 kB / 0.5945 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5603, allocations: 0 / 0.5945 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.5605, allocations: 128.9 kB / 0.5946 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.5608, allocations: 32.31 kB / 0.5946 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.562, allocations: 0.5689 MB / 0.5952 GB, free: 13.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.5624, allocations: 0.7563 MB / 0.5959 GB, free: 12.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003735/0.5628, allocations: 144.2 kB / 0.5961 GB, free: 12.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.5629, allocations: 41.48 kB / 0.5961 GB, free: 12.41 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5629, allocations: 0 / 0.5961 GB, free: 12.41 MB / 446.1 MB Notification: Performance of Templates: time 0.007827/0.5707, allocations: 2.844 MB / 0.5989 GB, free: 11.37 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 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)