Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.009169/0.009169, allocations: 172 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7649/0.7649, allocations: 132.3 MB / 148.1 MB, free: 248 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.614/1.614, allocations: 223.1 MB / 403.2 MB, free: 6.742 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.0009513/0.0009512, allocations: 89.55 kB / 485.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003382, allocations: 12 kB / 0.5641 GB, free: 2.117 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4104, allocations: 81.59 MB / 0.6438 GB, free: 39.27 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1516/0.562, allocations: 114.7 MB / 0.7557 GB, free: 5.285 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/0.5624, allocations: 95.92 kB / 0.7558 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02077/0.5832, allocations: 8.241 MB / 0.7639 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.495e-06/0.5832, allocations: 4 kB / 0.7639 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.457e-05/0.5832, allocations: 4 kB / 0.7639 GB, free: 12.93 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.0007254/0.584, allocations: 0.4992 MB / 0.7644 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.584, allocations: 8.031 kB / 0.7644 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.911e-05/0.5841, allocations: 23.72 kB / 0.7644 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.5844, allocations: 274.4 kB / 0.7647 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.5844, allocations: 16 kB / 0.7647 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.5845, allocations: 16 kB / 0.7647 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/0.5848, allocations: 205.4 kB / 0.7649 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.5848, allocations: 4 kB / 0.7649 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.5849, allocations: 8 kB / 0.7649 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.5849, allocations: 4 kB / 0.7649 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008692/0.5858, allocations: 0.742 MB / 0.7656 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008412/0.5866, allocations: 0.563 MB / 0.7662 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004499/0.5871, allocations: 300.6 kB / 0.7665 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.455e-05/0.5871, allocations: 20.23 kB / 0.7665 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002876/0.5874, allocations: 175.2 kB / 0.7666 GB, free: 9.918 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/0.5874, allocations: 0 / 0.7666 GB, free: 9.918 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34): time 0.0006421/0.5881, allocations: 369.9 kB / 0.767 GB, free: 9.551 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.5882, allocations: 140.5 kB / 0.7671 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.5884, allocations: 255.2 kB / 0.7674 GB, free: 9.125 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.5885, allocations: 37.7 kB / 0.7674 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/0.5886, allocations: 128.6 kB / 0.7675 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.09e-05/0.5886, allocations: 110.5 kB / 0.7676 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.5887, allocations: 4 kB / 0.7676 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.5888, allocations: 342.8 kB / 0.768 GB, free: 8.492 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.5889, allocations: 75.95 kB / 0.768 GB, free: 8.418 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.5891, allocations: 131.4 kB / 0.7682 GB, free: 8.277 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.5892, allocations: 104 kB / 0.7683 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.5892, allocations: 0 / 0.7683 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004109/0.5897, allocations: 277.6 kB / 0.7685 GB, free: 7.898 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.5897, allocations: 8 kB / 0.7685 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.5897, allocations: 0 / 0.7685 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.5897, allocations: 4 kB / 0.7685 GB, free: 7.887 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.59, allocations: 55.91 kB / 0.7686 GB, free: 7.832 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.59, allocations: 4 kB / 0.7686 GB, free: 7.828 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.5901, allocations: 31.69 kB / 0.7686 GB, free: 7.797 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.5902, allocations: 19.98 kB / 0.7687 GB, free: 7.777 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.0001606/0.5903, allocations: 157.8 kB / 0.7688 GB, free: 7.613 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.5904, allocations: 27.72 kB / 0.7688 GB, free: 7.586 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006401/0.591, allocations: 380.4 kB / 0.7692 GB, free: 7.207 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.591, allocations: 4 kB / 0.7692 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.5911, allocations: 0 / 0.7692 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.5911, allocations: 3.984 kB / 0.7692 GB, free: 7.199 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.5914, allocations: 349.1 kB / 0.7695 GB, free: 6.809 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5914, allocations: 0 / 0.7695 GB, free: 6.809 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.5916, allocations: 59.91 kB / 0.7696 GB, free: 6.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.5916, allocations: 0 / 0.7696 GB, free: 6.75 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.5916, allocations: 11.94 kB / 0.7696 GB, free: 6.738 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.5916, allocations: 4 kB / 0.7696 GB, free: 6.734 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5916, allocations: 0 / 0.7696 GB, free: 6.734 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004337/0.5921, allocations: 327 kB / 0.7699 GB, free: 6.398 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.5923, allocations: 152.7 kB / 0.7701 GB, free: 6.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.5923, allocations: 7.938 kB / 0.7701 GB, free: 6.223 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.5924, allocations: 24 kB / 0.7701 GB, free: 6.199 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.5925, allocations: 23.95 kB / 0.7701 GB, free: 6.176 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.5925, allocations: 12 kB / 0.7701 GB, free: 6.164 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001928/0.5927, allocations: 217.6 kB / 0.7703 GB, free: 5.953 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5927, allocations: 0 / 0.7703 GB, free: 5.953 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002993/0.593, allocations: 68 kB / 0.7704 GB, free: 5.887 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.0008768/0.5939, allocations: 419 kB / 0.7708 GB, free: 5.617 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003605/0.5943, allocations: 231.8 kB / 0.771 GB, free: 5.391 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.5943, allocations: 0 / 0.771 GB, free: 5.391 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.5945, allocations: 127.8 kB / 0.7711 GB, free: 5.266 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.5947, allocations: 31.27 kB / 0.7712 GB, free: 5.234 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008548/0.5956, allocations: 0.5547 MB / 0.7717 GB, free: 4.656 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.5959, allocations: 0.7613 MB / 0.7725 GB, free: 3.867 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003208/0.5962, allocations: 150.8 kB / 0.7726 GB, free: 3.719 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.058e-05/0.5963, allocations: 47.36 kB / 0.7726 GB, free: 3.672 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.5963, allocations: 0 / 0.7726 GB, free: 3.672 MB / 0.5417 GB Notification: Performance of Templates: time 0.006052/0.6024, allocations: 2.95 MB / 0.7755 GB, free: 0.7344 MB / 0.5417 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)