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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.007188/0.007188, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7247/0.7247, allocations: 135.2 MB / 151.1 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 223.2 MB / 406.9 MB, free: 3.227 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009458/0.0009458, allocations: 101.5 kB / 490 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.000347, allocations: 8 kB / 0.5691 GB, free: 14.17 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4303/0.4306, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1622/0.5929, allocations: 114.9 MB / 0.7617 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.5932, allocations: 91.92 kB / 0.7618 GB, free: 1.012 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02056/0.6138, allocations: 8.241 MB / 0.7698 GB, free: 8.754 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.299e-05/0.6139, allocations: 0 / 0.7698 GB, free: 8.754 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.775e-05/0.6139, allocations: 7.938 kB / 0.7698 GB, free: 8.746 MB / 0.5417 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.000679/0.6146, allocations: 0.5031 MB / 0.7703 GB, free: 8.195 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.6146, allocations: 8.031 kB / 0.7703 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.794e-05/0.6147, allocations: 23.72 kB / 0.7704 GB, free: 8.164 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.615, allocations: 274.4 kB / 0.7706 GB, free: 7.855 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.6151, allocations: 12 kB / 0.7706 GB, free: 7.844 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.6151, allocations: 12 kB / 0.7706 GB, free: 7.832 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.6155, allocations: 210.3 kB / 0.7708 GB, free: 7.609 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.6155, allocations: 7.938 kB / 0.7708 GB, free: 7.602 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.6155, allocations: 8 kB / 0.7709 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.6155, allocations: 0 / 0.7709 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008639/0.6164, allocations: 0.7334 MB / 0.7716 GB, free: 6.859 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000812/0.6172, allocations: 0.5591 MB / 0.7721 GB, free: 6.246 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/0.6177, allocations: 312.5 kB / 0.7724 GB, free: 5.934 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.439e-05/0.6177, allocations: 24.23 kB / 0.7724 GB, free: 5.91 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002867/0.618, allocations: 163.2 kB / 0.7726 GB, free: 5.742 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 1.413e-06/0.618, allocations: 0 / 0.7726 GB, free: 5.742 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34): time 0.0006247/0.6187, allocations: 374.8 kB / 0.773 GB, free: 5.371 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.934e-05/0.6188, allocations: 132.5 kB / 0.7731 GB, free: 5.211 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.6191, allocations: 259.2 kB / 0.7733 GB, free: 4.945 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.6191, allocations: 33.7 kB / 0.7734 GB, free: 4.906 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.891e-05/0.6192, allocations: 132.6 kB / 0.7735 GB, free: 4.773 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.959e-05/0.6193, allocations: 102.5 kB / 0.7736 GB, free: 4.672 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.417e-05/0.6193, allocations: 8 kB / 0.7736 GB, free: 4.664 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.6194, allocations: 338.8 kB / 0.7739 GB, free: 4.324 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.6195, allocations: 79.95 kB / 0.774 GB, free: 4.246 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.6197, allocations: 131.4 kB / 0.7741 GB, free: 4.105 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.6199, allocations: 104 kB / 0.7742 GB, free: 4.004 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6199, allocations: 0 / 0.7742 GB, free: 4.004 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003987/0.6203, allocations: 277.6 kB / 0.7745 GB, free: 3.727 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.6203, allocations: 8.781 kB / 0.7745 GB, free: 3.719 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.6203, allocations: 3.938 kB / 0.7745 GB, free: 3.715 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.6204, allocations: 0 / 0.7745 GB, free: 3.715 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.6206, allocations: 59.91 kB / 0.7745 GB, free: 3.656 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.6206, allocations: 3.984 kB / 0.7746 GB, free: 3.652 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.6207, allocations: 35.75 kB / 0.7746 GB, free: 3.617 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.6208, allocations: 11.98 kB / 0.7746 GB, free: 3.605 MB / 0.5417 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000156/0.6209, allocations: 165.7 kB / 0.7748 GB, free: 3.434 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.621, allocations: 23.72 kB / 0.7748 GB, free: 3.41 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006384/0.6216, allocations: 384.6 kB / 0.7751 GB, free: 3.031 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.6216, allocations: 0 / 0.7751 GB, free: 3.031 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6217, allocations: 8 kB / 0.7752 GB, free: 3.023 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.6217, allocations: 3.984 kB / 0.7752 GB, free: 3.02 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.622, allocations: 345.1 kB / 0.7755 GB, free: 2.633 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.622, allocations: 0 / 0.7755 GB, free: 2.633 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.6222, allocations: 59.91 kB / 0.7755 GB, free: 2.574 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6222, allocations: 0 / 0.7755 GB, free: 2.574 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.6222, allocations: 8 kB / 0.7756 GB, free: 2.566 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.6222, allocations: 0 / 0.7756 GB, free: 2.566 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.6222, allocations: 7.938 kB / 0.7756 GB, free: 2.559 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004264/0.6227, allocations: 333.6 kB / 0.7759 GB, free: 2.215 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.6228, allocations: 148.7 kB / 0.776 GB, free: 2.051 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.6229, allocations: 12 kB / 0.776 GB, free: 2.039 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.623, allocations: 15.98 kB / 0.776 GB, free: 2.023 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.6231, allocations: 19.97 kB / 0.7761 GB, free: 2.004 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.6231, allocations: 12 kB / 0.7761 GB, free: 1.992 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001979/0.6233, allocations: 221.6 kB / 0.7763 GB, free: 1.777 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6233, allocations: 0 / 0.7763 GB, free: 1.777 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002974/0.6236, allocations: 75.97 kB / 0.7764 GB, free: 1.703 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001098/0.6247, allocations: 412.4 kB / 0.7768 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004048/0.6251, allocations: 228.2 kB / 0.777 GB, free: 1.219 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6251, allocations: 0 / 0.777 GB, free: 1.219 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.6253, allocations: 127.8 kB / 0.7771 GB, free: 1.094 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.6256, allocations: 30.67 kB / 0.7771 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009254/0.6265, allocations: 0.5586 MB / 0.7777 GB, free: 492 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.6269, allocations: 0.7613 MB / 0.7784 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003179/0.6272, allocations: 146.8 kB / 0.7785 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.976e-05/0.6273, allocations: 39.42 kB / 0.7786 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of SimCode: time 8.41e-07/0.6273, allocations: 4 kB / 0.7786 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of Templates: time 0.006417/0.6337, allocations: 2.959 MB / 0.7815 GB, free: 12.56 MB / 0.5573 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)