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.008932/0.008932, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.001329/0.001328, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.002/1.002, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 67.91 kB / 0.5856 GB, free: 3.324 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5524/0.5542, allocations: 80.9 MB / 0.6647 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002493/0.5567, allocations: 1.63 MB / 0.6662 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.5582, allocations: 1.154 MB / 0.6674 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.572e-05/0.5583, allocations: 5.344 kB / 0.6674 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.5586, allocations: 31.78 kB / 0.6674 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002921/0.5589, allocations: 61.45 kB / 0.6675 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.5592, allocations: 134.3 kB / 0.6676 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.5595, allocations: 227.1 kB / 0.6678 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.5596, allocations: 26.11 kB / 0.6678 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.624e-05/0.5597, allocations: 74.45 kB / 0.6679 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.56, allocations: 92.42 kB / 0.668 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.242e-05/0.56, allocations: 16.75 kB / 0.668 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.5602, allocations: 78.47 kB / 0.6681 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.5603, allocations: 73.66 kB / 0.6682 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.5604, allocations: 101.8 kB / 0.6683 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003568/0.5608, allocations: 280.5 kB / 0.6685 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.5608, allocations: 1.281 kB / 0.6685 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5608, allocations: 0 / 0.6685 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.5608, allocations: 0 / 0.6685 GB, free: 4.668 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.0007635/0.5616, allocations: 0.5279 MB / 0.669 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.5616, allocations: 10.09 kB / 0.669 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.353e-05/0.5617, allocations: 29.38 kB / 0.6691 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.562, allocations: 259.2 kB / 0.6693 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.562, allocations: 10.31 kB / 0.6693 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.5621, allocations: 14.25 kB / 0.6693 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000368/0.5624, allocations: 215.3 kB / 0.6696 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.5624, allocations: 0 / 0.6696 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.5625, allocations: 9.312 kB / 0.6696 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.5625, allocations: 7.859 kB / 0.6696 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009205/0.5634, allocations: 0.7329 MB / 0.6703 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008366/0.5643, allocations: 0.5601 MB / 0.6708 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005047/0.5648, allocations: 305.5 kB / 0.6711 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.5649, allocations: 98.94 kB / 0.6712 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.87e-05/0.565, allocations: 21.09 kB / 0.6712 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003361/0.5653, allocations: 176.6 kB / 0.6714 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.725e-06/0.5653, allocations: 0 / 0.6714 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0006452/0.566, allocations: 371.2 kB / 0.6718 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.5661, allocations: 137.1 kB / 0.6719 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.5664, allocations: 297.9 kB / 0.6722 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.5664, allocations: 31.05 kB / 0.6722 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.5665, allocations: 130 kB / 0.6723 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.446e-05/0.5666, allocations: 108.7 kB / 0.6724 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.747e-05/0.5666, allocations: 61.03 kB / 0.6725 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.95e-05/0.5667, allocations: 342.6 kB / 0.6728 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.5669, allocations: 79.11 kB / 0.6729 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.5671, allocations: 133.5 kB / 0.673 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003724/0.5675, allocations: 220.9 kB / 0.6732 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5675, allocations: 0 / 0.6732 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004934/0.568, allocations: 276.4 kB / 0.6735 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.568, allocations: 4.25 kB / 0.6735 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.568, allocations: 1.281 kB / 0.6735 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.5681, allocations: 1.5 kB / 0.6735 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.5683, allocations: 59.28 kB / 0.6736 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.5683, allocations: 5.188 kB / 0.6736 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.5685, allocations: 32.39 kB / 0.6736 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.5685, allocations: 8.625 kB / 0.6736 GB, free: 1 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.0001904/0.5687, allocations: 169.2 kB / 0.6738 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.943e-05/0.5688, allocations: 31.09 kB / 0.6738 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007739/0.5696, allocations: 376.8 kB / 0.6742 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.5696, allocations: 3.781 kB / 0.6742 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.5696, allocations: 0 / 0.6742 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.5696, allocations: 1.438 kB / 0.6742 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.57, allocations: 330.1 kB / 0.6745 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.57, allocations: 4 kB / 0.6745 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.5702, allocations: 53.02 kB / 0.6745 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.5702, allocations: 5.172 kB / 0.6745 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.5702, allocations: 12.88 kB / 0.6745 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-06/0.5702, allocations: 1.406 kB / 0.6745 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5702, allocations: 0 / 0.6745 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004879/0.5707, allocations: 326.5 kB / 0.6749 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.5709, allocations: 137.6 kB / 0.675 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/0.5709, allocations: 10.28 kB / 0.675 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.5711, allocations: 17.52 kB / 0.675 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.539e-05/0.5712, allocations: 21.47 kB / 0.675 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.5712, allocations: 12.38 kB / 0.675 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002542/0.5715, allocations: 231.9 kB / 0.6753 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5715, allocations: 1.688 kB / 0.6753 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003063/0.5718, allocations: 57.34 kB / 0.6753 GB, free: 15.77 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.0009815/0.5728, allocations: 423 kB / 0.6757 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004085/0.5732, allocations: 226.3 kB / 0.6759 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5732, allocations: 0 / 0.6759 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.5734, allocations: 129.8 kB / 0.6761 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.5737, allocations: 38.94 kB / 0.6761 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008879/0.5746, allocations: 0.4963 MB / 0.6766 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.575, allocations: 0.7541 MB / 0.6773 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003157/0.5753, allocations: 144.1 kB / 0.6775 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.927e-05/0.5754, allocations: 43.83 kB / 0.6775 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.5754, allocations: 0 / 0.6775 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of Templates: time 0.006972/0.5824, allocations: 3.016 MB / 0.6804 GB, free: 12.76 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)