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.00131/0.00131, allocations: 109.1 kB / 16.4 MB, free: 6.375 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.001291/0.001291, allocations: 189.4 kB / 17.33 MB, free: 5.84 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8596/0.8596, allocations: 135.2 MB / 426.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003025/0.003025, allocations: 69.12 kB / 0.5863 GB, free: 21.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1896, allocations: 80.92 MB / 0.6654 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003349/0.1929, allocations: 1.621 MB / 0.6669 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00182/0.1948, allocations: 1.164 MB / 0.6681 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.516e-05/0.1948, allocations: 0 / 0.6681 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.1951, allocations: 15.86 kB / 0.6681 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002923/0.1953, allocations: 75.61 kB / 0.6682 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.1957, allocations: 127.2 kB / 0.6683 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003243/0.196, allocations: 233.6 kB / 0.6685 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1961, allocations: 15.98 kB / 0.6685 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.1962, allocations: 75.77 kB / 0.6686 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.1965, allocations: 95.7 kB / 0.6687 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.004e-05/0.1965, allocations: 20 kB / 0.6687 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.1967, allocations: 75.97 kB / 0.6688 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.1968, allocations: 87.8 kB / 0.6689 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.1969, allocations: 95.39 kB / 0.669 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000377/0.1973, allocations: 278.8 kB / 0.6692 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1973, allocations: 0 / 0.6692 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1973, allocations: 0 / 0.6692 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.1973, allocations: 0 / 0.6692 GB, free: 1.754 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.0008608/0.1981, allocations: 0.5341 MB / 0.6697 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1982, allocations: 13.09 kB / 0.6698 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.273e-05/0.1983, allocations: 32.75 kB / 0.6698 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.1986, allocations: 263.8 kB / 0.67 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.1986, allocations: 16.38 kB / 0.6701 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.1987, allocations: 12.38 kB / 0.6701 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.1991, allocations: 221.4 kB / 0.6703 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1991, allocations: 0 / 0.6703 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.1991, allocations: 4 kB / 0.6703 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.1991, allocations: 4 kB / 0.6703 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.2001, allocations: 0.7411 MB / 0.671 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008999/0.201, allocations: 0.5591 MB / 0.6716 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005127/0.2015, allocations: 285.4 kB / 0.6718 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.2017, allocations: 93.38 kB / 0.6719 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.246e-05/0.2017, allocations: 28.23 kB / 0.6719 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003806/0.2021, allocations: 172.9 kB / 0.6721 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=34): time 1.793e-06/0.2021, allocations: 0 / 0.6721 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34): time 0.0007194/0.2028, allocations: 366.2 kB / 0.6725 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001912/0.203, allocations: 140.4 kB / 0.6726 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000361/0.2034, allocations: 300.1 kB / 0.6729 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.2034, allocations: 29.7 kB / 0.6729 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.767e-05/0.2035, allocations: 124.8 kB / 0.673 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.2036, allocations: 122.9 kB / 0.6731 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.2037, allocations: 65.69 kB / 0.6732 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.2039, allocations: 342.8 kB / 0.6735 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.2041, allocations: 75.95 kB / 0.6736 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.2043, allocations: 123.4 kB / 0.6737 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/0.2046, allocations: 221.3 kB / 0.6739 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2046, allocations: 8 kB / 0.6739 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004615/0.2051, allocations: 277.2 kB / 0.6742 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2051, allocations: 4 kB / 0.6742 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.2051, allocations: 3.938 kB / 0.6742 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.2051, allocations: 4 kB / 0.6742 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.2054, allocations: 63.89 kB / 0.6743 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.2054, allocations: 0 / 0.6743 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.2055, allocations: 23.92 kB / 0.6743 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.2056, allocations: 15.98 kB / 0.6743 GB, free: 12.27 MB / 0.5137 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.0001785/0.2057, allocations: 165.7 kB / 0.6745 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-05/0.2058, allocations: 31.81 kB / 0.6745 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007388/0.2065, allocations: 376.8 kB / 0.6749 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2065, allocations: 4 kB / 0.6749 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2066, allocations: 0 / 0.6749 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.2066, allocations: 3.984 kB / 0.6749 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003611/0.2069, allocations: 329.3 kB / 0.6752 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2069, allocations: 4 kB / 0.6752 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.2071, allocations: 55.91 kB / 0.6752 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2071, allocations: 0 / 0.6752 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.2071, allocations: 15.98 kB / 0.6753 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2071, allocations: 4 kB / 0.6753 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2071, allocations: 0 / 0.6753 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005161/0.2076, allocations: 325.8 kB / 0.6756 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.2078, allocations: 144.8 kB / 0.6757 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.2078, allocations: 11.98 kB / 0.6757 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.208, allocations: 8 kB / 0.6757 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.208, allocations: 27.95 kB / 0.6758 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.2081, allocations: 12 kB / 0.6758 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000225/0.2083, allocations: 237.6 kB / 0.676 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.2083, allocations: 0 / 0.676 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002963/0.2086, allocations: 59.94 kB / 0.6761 GB, free: 10.38 MB / 0.5137 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.001508/0.2101, allocations: 404.3 kB / 0.6764 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004848/0.2106, allocations: 216.6 kB / 0.6766 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2106, allocations: 0 / 0.6766 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.2108, allocations: 127.8 kB / 0.6768 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.2111, allocations: 42.22 kB / 0.6768 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009058/0.212, allocations: 0.5293 MB / 0.6773 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.2124, allocations: 0.7574 MB / 0.6781 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.2125, allocations: 51.41 kB / 0.6781 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of SimCode: time 3.91e-07/0.2125, allocations: 0 / 0.6781 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of Templates: time 0.007626/0.2201, allocations: 4.196 MB / 0.6822 GB, free: 4.164 MB / 0.5137 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)