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.001332/0.001332, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001307/0.001308, allocations: 194.8 kB / 16.14 MB, free: 6.656 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.373/1.373, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9388/0.9388, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 64.8 kB / 0.5047 GB, free: 5.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1822, allocations: 80.93 MB / 0.5837 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003121/0.1854, allocations: 1.663 MB / 0.5853 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.187, allocations: 1.14 MB / 0.5865 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.699e-05/0.1871, allocations: 8 kB / 0.5865 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.1873, allocations: 11.92 kB / 0.5865 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002274/0.1876, allocations: 55.83 kB / 0.5865 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.1879, allocations: 120.6 kB / 0.5866 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.1881, allocations: 205.7 kB / 0.5868 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.781e-05/0.1882, allocations: 27.92 kB / 0.5869 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.515e-05/0.1883, allocations: 63.83 kB / 0.5869 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.1884, allocations: 83.77 kB / 0.587 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.1885, allocations: 8 kB / 0.587 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.1886, allocations: 67.97 kB / 0.5871 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.202e-05/0.1887, allocations: 79.73 kB / 0.5872 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.9e-05/0.1888, allocations: 95.33 kB / 0.5872 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.1891, allocations: 259.4 kB / 0.5875 GB, free: 1.121 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1891, allocations: 0 / 0.5875 GB, free: 1.121 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1891, allocations: 4 kB / 0.5875 GB, free: 1.117 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.1891, allocations: 0 / 0.5875 GB, free: 1.117 MB / 494.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.0006761/0.1898, allocations: 0.519 MB / 0.588 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.792e-05/0.1898, allocations: 12.03 kB / 0.588 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.41e-05/0.1899, allocations: 24.66 kB / 0.588 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.1901, allocations: 263.8 kB / 0.5883 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1902, allocations: 16.25 kB / 0.5883 GB, free: 208 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.1902, allocations: 20.36 kB / 0.5883 GB, free: 188 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.1906, allocations: 217 kB / 0.5885 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1906, allocations: 0 / 0.5885 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.1906, allocations: 8 kB / 0.5885 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1906, allocations: 4 kB / 0.5885 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008458/0.1915, allocations: 0.7373 MB / 0.5893 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008493/0.1923, allocations: 0.5629 MB / 0.5898 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004655/0.1928, allocations: 295.6 kB / 0.5901 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.193, allocations: 101.4 kB / 0.5902 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.422e-05/0.193, allocations: 28.23 kB / 0.5902 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003427/0.1934, allocations: 168.9 kB / 0.5904 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.633e-06/0.1934, allocations: 0 / 0.5904 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0006679/0.194, allocations: 377.6 kB / 0.5907 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.125e-05/0.1941, allocations: 132.5 kB / 0.5909 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.1944, allocations: 297.4 kB / 0.5911 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.1945, allocations: 29.7 kB / 0.5912 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.753e-05/0.1946, allocations: 124.7 kB / 0.5913 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.415e-05/0.1947, allocations: 110.4 kB / 0.5914 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.1948, allocations: 65.69 kB / 0.5915 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1949, allocations: 342.8 kB / 0.5918 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.195, allocations: 79.95 kB / 0.5919 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.1952, allocations: 124.3 kB / 0.592 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.1956, allocations: 227 kB / 0.5922 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1956, allocations: 0 / 0.5922 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000429/0.196, allocations: 273.1 kB / 0.5925 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.196, allocations: 8 kB / 0.5925 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1961, allocations: 4 kB / 0.5925 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1961, allocations: 0 / 0.5925 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.1963, allocations: 59.91 kB / 0.5925 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1963, allocations: 0 / 0.5925 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.1965, allocations: 23.83 kB / 0.5926 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.1965, allocations: 19.98 kB / 0.5926 GB, free: 11.63 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.0001478/0.1967, allocations: 157.7 kB / 0.5927 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/0.1967, allocations: 27.72 kB / 0.5927 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006689/0.1974, allocations: 380.5 kB / 0.5931 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1974, allocations: 3.828 kB / 0.5931 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.1974, allocations: 4 kB / 0.5931 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1974, allocations: 3.984 kB / 0.5931 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003245/0.1978, allocations: 329.2 kB / 0.5934 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.1978, allocations: 0 / 0.5934 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.1979, allocations: 55.91 kB / 0.5935 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/0.198, allocations: 7.938 kB / 0.5935 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.262e-05/0.198, allocations: 16 kB / 0.5935 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.198, allocations: 3.984 kB / 0.5935 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.198, allocations: 0 / 0.5935 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004661/0.1985, allocations: 327 kB / 0.5938 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.1986, allocations: 144.6 kB / 0.594 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.1987, allocations: 8 kB / 0.594 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.1988, allocations: 11.98 kB / 0.594 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/0.1989, allocations: 27.97 kB / 0.594 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.1989, allocations: 15.98 kB / 0.594 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001975/0.1991, allocations: 229.6 kB / 0.5942 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1991, allocations: 0 / 0.5942 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002831/0.1994, allocations: 67.92 kB / 0.5943 GB, free: 9.75 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.0008862/0.2003, allocations: 408.1 kB / 0.5947 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003885/0.2007, allocations: 223.8 kB / 0.5949 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.2007, allocations: 8 kB / 0.5949 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.2009, allocations: 131.8 kB / 0.595 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.2012, allocations: 33.27 kB / 0.5951 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000773/0.202, allocations: 0.5598 MB / 0.5956 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.2023, allocations: 0.7542 MB / 0.5964 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003064/0.2026, allocations: 150.9 kB / 0.5965 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.216e-05/0.2027, allocations: 43.41 kB / 0.5965 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.2027, allocations: 0 / 0.5965 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of Templates: time 0.006449/0.2092, allocations: 2.875 MB / 0.5994 GB, free: 4.707 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)