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.001159/0.001159, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01061/0.01061, allocations: 170 kB / 16.26 MB, free: 6.68 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.448/1.448, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9727/0.9727, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003515, allocations: 8 kB / 0.5076 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1881, allocations: 82.31 MB / 0.588 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002067/0.1902, allocations: 1.328 MB / 0.5893 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.192, allocations: 1.125 MB / 0.5904 GB, free: 160 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.908e-05/0.1921, allocations: 0 / 0.5904 GB, free: 160 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.1924, allocations: 23.91 kB / 0.5904 GB, free: 136 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.1926, allocations: 55.77 kB / 0.5904 GB, free: 80 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.193, allocations: 118.8 kB / 0.5906 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.1933, allocations: 209.6 kB / 0.5908 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1934, allocations: 16 kB / 0.5908 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.1936, allocations: 63.83 kB / 0.5908 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.1938, allocations: 83.77 kB / 0.5909 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.731e-05/0.1938, allocations: 8 kB / 0.5909 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.194, allocations: 67.91 kB / 0.591 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.1941, allocations: 83.73 kB / 0.5911 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.1942, allocations: 113.1 kB / 0.5912 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.1945, allocations: 255.4 kB / 0.5914 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1945, allocations: 0 / 0.5914 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1946, allocations: 0 / 0.5914 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.1946, allocations: 0 / 0.5914 GB, free: 15.08 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.0007626/0.1953, allocations: 487.6 kB / 0.5919 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1954, allocations: 8.031 kB / 0.5919 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.878e-05/0.1955, allocations: 28.66 kB / 0.5919 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.1957, allocations: 263.7 kB / 0.5922 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.1958, allocations: 12.38 kB / 0.5922 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.1958, allocations: 20.25 kB / 0.5922 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.1962, allocations: 217 kB / 0.5924 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1962, allocations: 3.938 kB / 0.5924 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.1962, allocations: 8 kB / 0.5924 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1962, allocations: 4 kB / 0.5924 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008456/0.1971, allocations: 0.7334 MB / 0.5931 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008732/0.198, allocations: 0.5629 MB / 0.5937 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004817/0.1985, allocations: 295.7 kB / 0.594 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.1986, allocations: 97.38 kB / 0.5941 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.109e-05/0.1987, allocations: 28.22 kB / 0.5941 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003311/0.199, allocations: 180.9 kB / 0.5943 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.064e-06/0.199, allocations: 0 / 0.5943 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0006625/0.1997, allocations: 373.6 kB / 0.5946 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.87e-05/0.1998, allocations: 132.5 kB / 0.5947 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.2001, allocations: 297.4 kB / 0.595 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.2002, allocations: 29.7 kB / 0.5951 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.533e-05/0.2003, allocations: 120.8 kB / 0.5952 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.2004, allocations: 118.3 kB / 0.5953 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.2004, allocations: 25.72 kB / 0.5953 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.2006, allocations: 342.8 kB / 0.5956 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.2007, allocations: 79.95 kB / 0.5957 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.2009, allocations: 132.2 kB / 0.5958 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/0.2013, allocations: 211.3 kB / 0.596 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2013, allocations: 0 / 0.596 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004278/0.2017, allocations: 285 kB / 0.5963 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.2017, allocations: 4 kB / 0.5963 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2017, allocations: 0 / 0.5963 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.2018, allocations: 4 kB / 0.5963 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.202, allocations: 63.91 kB / 0.5964 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.202, allocations: 4 kB / 0.5964 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.2022, allocations: 23.83 kB / 0.5964 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.2022, allocations: 12 kB / 0.5964 GB, free: 9.676 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.0001574/0.2024, allocations: 165.7 kB / 0.5966 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-05/0.2024, allocations: 23.72 kB / 0.5966 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006598/0.2031, allocations: 388.3 kB / 0.597 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.2031, allocations: 4 kB / 0.597 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2031, allocations: 3.938 kB / 0.597 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2031, allocations: 0 / 0.597 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/0.2035, allocations: 333.2 kB / 0.5973 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2035, allocations: 0 / 0.5973 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.2037, allocations: 55.91 kB / 0.5974 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.2037, allocations: 4 kB / 0.5974 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.2037, allocations: 15.94 kB / 0.5974 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.2037, allocations: 0 / 0.5974 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2037, allocations: 0 / 0.5974 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004575/0.2042, allocations: 327.1 kB / 0.5977 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.2043, allocations: 144.6 kB / 0.5978 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/0.2044, allocations: 8 kB / 0.5978 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.2045, allocations: 19.98 kB / 0.5978 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.2046, allocations: 27.95 kB / 0.5979 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.2047, allocations: 12 kB / 0.5979 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002091/0.2049, allocations: 233.6 kB / 0.5981 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.733e-06/0.2049, allocations: 0 / 0.5981 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002937/0.2052, allocations: 67.88 kB / 0.5982 GB, free: 7.777 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.000964/0.2061, allocations: 407 kB / 0.5986 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004083/0.2066, allocations: 227.8 kB / 0.5988 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.2066, allocations: 3.938 kB / 0.5988 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.2068, allocations: 127.8 kB / 0.5989 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.2071, allocations: 32.66 kB / 0.5989 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008506/0.2079, allocations: 0.5741 MB / 0.5995 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.2083, allocations: 0.7581 MB / 0.6002 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003091/0.2086, allocations: 146.8 kB / 0.6004 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.276e-05/0.2087, allocations: 39.42 kB / 0.6004 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.2087, allocations: 0 / 0.6004 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of Templates: time 0.006745/0.2155, allocations: 2.833 MB / 0.6032 GB, free: 2.777 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)