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.001607/0.001607, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 198.9 kB / 16.79 MB, free: 6.809 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.5/1.5, allocations: 222.9 MB / 240.5 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.997/0.997, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 67.72 kB / 0.5053 GB, free: 5.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.185, allocations: 80.92 MB / 0.5844 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003847/0.1889, allocations: 1.675 MB / 0.586 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.1909, allocations: 1.124 MB / 0.5871 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.377e-05/0.191, allocations: 0 / 0.5871 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.1913, allocations: 27.91 kB / 0.5871 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003065/0.1916, allocations: 59.75 kB / 0.5872 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.1921, allocations: 116.7 kB / 0.5873 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.1924, allocations: 209.6 kB / 0.5875 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.1925, allocations: 16 kB / 0.5875 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.1926, allocations: 67.83 kB / 0.5876 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.1929, allocations: 87.77 kB / 0.5876 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.22e-05/0.1929, allocations: 8 kB / 0.5877 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.1931, allocations: 67.91 kB / 0.5877 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.1932, allocations: 79.69 kB / 0.5878 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.1933, allocations: 95.39 kB / 0.5879 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.1936, allocations: 195.9 kB / 0.5881 GB, free: 1.148 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1936, allocations: 4 kB / 0.5881 GB, free: 1.145 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1936, allocations: 0 / 0.5881 GB, free: 1.145 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1936, allocations: 4 kB / 0.5881 GB, free: 1.141 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.0007977/0.1944, allocations: 0.5228 MB / 0.5886 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1945, allocations: 8.031 kB / 0.5886 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.708e-05/0.1946, allocations: 24.66 kB / 0.5886 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.1949, allocations: 263.7 kB / 0.5889 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.1949, allocations: 16.38 kB / 0.5889 GB, free: 232 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.1949, allocations: 12.38 kB / 0.5889 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003622/0.1953, allocations: 216.9 kB / 0.5891 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1953, allocations: 0 / 0.5891 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.1954, allocations: 8 kB / 0.5891 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1954, allocations: 4 kB / 0.5891 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008391/0.1962, allocations: 0.7334 MB / 0.5898 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008657/0.1971, allocations: 0.5667 MB / 0.5904 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004654/0.1976, allocations: 291.7 kB / 0.5907 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.1977, allocations: 101.4 kB / 0.5908 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.902e-05/0.1978, allocations: 24.23 kB / 0.5908 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000383/0.1982, allocations: 176.9 kB / 0.591 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 3.316e-06/0.1982, allocations: 4 kB / 0.591 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0006719/0.1989, allocations: 365.7 kB / 0.5913 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.999e-05/0.199, allocations: 136.5 kB / 0.5914 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.1993, allocations: 297.4 kB / 0.5917 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.1993, allocations: 33.7 kB / 0.5918 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.356e-05/0.1994, allocations: 120.7 kB / 0.5919 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.933e-05/0.1995, allocations: 110.4 kB / 0.592 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.366e-05/0.1996, allocations: 65.69 kB / 0.592 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1997, allocations: 342.8 kB / 0.5924 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.1999, allocations: 79.95 kB / 0.5924 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.2, allocations: 124.3 kB / 0.5926 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.2004, allocations: 223 kB / 0.5928 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2004, allocations: 0 / 0.5928 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004333/0.2008, allocations: 273.2 kB / 0.593 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.2009, allocations: 4 kB / 0.593 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2009, allocations: 0 / 0.593 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.2009, allocations: 4 kB / 0.593 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.2011, allocations: 67.84 kB / 0.5931 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.2011, allocations: 4 kB / 0.5931 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.2013, allocations: 31.67 kB / 0.5931 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.2013, allocations: 15.98 kB / 0.5932 GB, free: 11.66 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.0001594/0.2015, allocations: 161.7 kB / 0.5933 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.837e-05/0.2015, allocations: 23.72 kB / 0.5933 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006505/0.2022, allocations: 388.4 kB / 0.5937 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.2022, allocations: 4 kB / 0.5937 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2022, allocations: 0 / 0.5937 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2022, allocations: 3.984 kB / 0.5937 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.2026, allocations: 329.2 kB / 0.594 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2026, allocations: 0 / 0.594 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.2028, allocations: 55.97 kB / 0.5941 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.2028, allocations: 0 / 0.5941 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.2028, allocations: 15.92 kB / 0.5941 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.2028, allocations: 4 kB / 0.5941 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2028, allocations: 4 kB / 0.5941 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004579/0.2033, allocations: 319.1 kB / 0.5944 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.2034, allocations: 144.6 kB / 0.5945 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/0.2035, allocations: 8 kB / 0.5945 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.2036, allocations: 15.98 kB / 0.5946 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.2037, allocations: 24.02 kB / 0.5946 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.2037, allocations: 19.97 kB / 0.5946 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001968/0.2039, allocations: 237.6 kB / 0.5948 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2039, allocations: 0 / 0.5948 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002786/0.2042, allocations: 51.94 kB / 0.5949 GB, free: 9.789 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.0009461/0.2051, allocations: 417.6 kB / 0.5953 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003889/0.2055, allocations: 223.8 kB / 0.5955 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2056, allocations: 0 / 0.5955 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001862/0.2058, allocations: 131.8 kB / 0.5956 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.206, allocations: 33.27 kB / 0.5957 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008877/0.2069, allocations: 0.5927 MB / 0.5962 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.2073, allocations: 0.7542 MB / 0.597 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.2074, allocations: 55.41 kB / 0.597 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.2074, allocations: 0 / 0.597 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of Templates: time 0.00652/0.2139, allocations: 4.158 MB / 0.6011 GB, free: 3.551 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)