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-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_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.0008698/0.0008699, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009565/0.0009565, allocations: 177.3 kB / 15.95 MB, free: 216 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.327/1.327, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9383/0.9383, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.0003539, allocations: 12 kB / 0.5068 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1965, allocations: 82.31 MB / 0.5872 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002005/0.1985, allocations: 1.303 MB / 0.5885 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.2002, allocations: 1.068 MB / 0.5895 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.987e-05/0.2003, allocations: 0 / 0.5895 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.2005, allocations: 15.92 kB / 0.5895 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000263/0.2008, allocations: 67.67 kB / 0.5896 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.2012, allocations: 110.9 kB / 0.5897 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000211/0.2014, allocations: 141.8 kB / 0.5898 GB, free: 400 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.2015, allocations: 15.98 kB / 0.5899 GB, free: 384 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.914e-05/0.2016, allocations: 63.88 kB / 0.5899 GB, free: 320 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.2018, allocations: 59.81 kB / 0.59 GB, free: 260 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.2019, allocations: 8 kB / 0.59 GB, free: 252 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.202, allocations: 51.92 kB / 0.59 GB, free: 200 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.876e-05/0.2021, allocations: 63.81 kB / 0.5901 GB, free: 136 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.754e-05/0.2021, allocations: 57.58 kB / 0.5901 GB, free: 72 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.2024, allocations: 191.9 kB / 0.5903 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2024, allocations: 4 kB / 0.5903 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.334e-06/0.2024, allocations: 4 kB / 0.5903 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.2024, allocations: 0 / 0.5903 GB, free: 15.88 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.0007399/0.2032, allocations: 491.3 kB / 0.5908 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2032, allocations: 8.031 kB / 0.5908 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.744e-05/0.2033, allocations: 31.7 kB / 0.5908 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.2036, allocations: 262.5 kB / 0.5911 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.2036, allocations: 8 kB / 0.5911 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.832e-05/0.2037, allocations: 12 kB / 0.5911 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.204, allocations: 208.8 kB / 0.5913 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.204, allocations: 0 / 0.5913 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.2041, allocations: 8 kB / 0.5913 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.2041, allocations: 4 kB / 0.5913 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009027/0.205, allocations: 0.7372 MB / 0.592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009134/0.2059, allocations: 0.5629 MB / 0.5926 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004505/0.2064, allocations: 291.7 kB / 0.5929 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.964e-05/0.2064, allocations: 24.25 kB / 0.5929 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003284/0.2068, allocations: 178 kB / 0.5931 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.753e-06/0.2068, allocations: 0 / 0.5931 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0006169/0.2074, allocations: 365.7 kB / 0.5934 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/0.2075, allocations: 132.5 kB / 0.5935 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.2078, allocations: 298.5 kB / 0.5938 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.2078, allocations: 33.7 kB / 0.5939 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.076e-05/0.2079, allocations: 120.8 kB / 0.594 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.009e-05/0.208, allocations: 122.2 kB / 0.5941 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.218e-05/0.208, allocations: 4 kB / 0.5941 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.2082, allocations: 346.8 kB / 0.5944 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.2083, allocations: 79.95 kB / 0.5945 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.2085, allocations: 116.3 kB / 0.5946 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.2087, allocations: 101.8 kB / 0.5947 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2087, allocations: 0 / 0.5947 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003972/0.2091, allocations: 281.8 kB / 0.595 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.2091, allocations: 4 kB / 0.595 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.2091, allocations: 4 kB / 0.595 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.2091, allocations: 4 kB / 0.595 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.2094, allocations: 59.91 kB / 0.595 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.2094, allocations: 4 kB / 0.595 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.2095, allocations: 31.77 kB / 0.5951 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.2096, allocations: 15.95 kB / 0.5951 GB, free: 10.73 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.0001651/0.2097, allocations: 164.1 kB / 0.5952 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.2098, allocations: 35.62 kB / 0.5953 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006256/0.2104, allocations: 380.3 kB / 0.5956 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.2104, allocations: 4 kB / 0.5956 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2104, allocations: 0 / 0.5956 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.2105, allocations: 4.031 kB / 0.5957 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/0.2108, allocations: 329.2 kB / 0.596 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2108, allocations: 4 kB / 0.596 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.211, allocations: 55.91 kB / 0.596 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.211, allocations: 8 kB / 0.596 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.211, allocations: 8 kB / 0.596 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.211, allocations: 4 kB / 0.596 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.211, allocations: 0 / 0.596 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004258/0.2114, allocations: 327 kB / 0.5964 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.2116, allocations: 144.6 kB / 0.5965 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.2116, allocations: 8 kB / 0.5965 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.2118, allocations: 21.86 kB / 0.5965 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.313e-05/0.2119, allocations: 31.89 kB / 0.5966 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.2119, allocations: 8 kB / 0.5966 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001997/0.2121, allocations: 236.4 kB / 0.5968 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2121, allocations: 0 / 0.5968 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002829/0.2124, allocations: 56 kB / 0.5968 GB, free: 8.844 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.0009252/0.2133, allocations: 403.5 kB / 0.5972 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00037/0.2137, allocations: 231.9 kB / 0.5974 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2137, allocations: 0 / 0.5974 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.2139, allocations: 123.9 kB / 0.5976 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.2141, allocations: 36.55 kB / 0.5976 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007904/0.2149, allocations: 0.5468 MB / 0.5981 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.2153, allocations: 0.7581 MB / 0.5989 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002912/0.2156, allocations: 150.9 kB / 0.599 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.598e-05/0.2156, allocations: 39.42 kB / 0.5991 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.2157, allocations: 0 / 0.5991 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.006087/0.2217, allocations: 2.75 MB / 0.6017 GB, free: 3.945 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: