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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.239/1.239, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6997/0.6997, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001147, allocations: 60.3 kB / 0.5018 GB, free: 3.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3551, allocations: 80.21 MB / 0.5801 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002993/0.3582, allocations: 1.615 MB / 0.5817 GB, free: 3.422 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.3597, allocations: 1.161 MB / 0.5828 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.333e-05/0.3599, allocations: 1.281 kB / 0.5828 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.3601, allocations: 23.23 kB / 0.5828 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.3604, allocations: 70.8 kB / 0.5829 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.3608, allocations: 128.8 kB / 0.583 GB, free: 2.484 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.3611, allocations: 226.6 kB / 0.5832 GB, free: 2.387 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3612, allocations: 20.23 kB / 0.5833 GB, free: 2.379 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.246e-05/0.3613, allocations: 75.56 kB / 0.5833 GB, free: 2.348 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/0.3615, allocations: 94.72 kB / 0.5834 GB, free: 2.305 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.49e-05/0.3616, allocations: 19.81 kB / 0.5834 GB, free: 2.301 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.3617, allocations: 72.94 kB / 0.5835 GB, free: 2.285 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.387e-05/0.3618, allocations: 83.59 kB / 0.5836 GB, free: 2.246 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.246e-05/0.3619, allocations: 98.45 kB / 0.5837 GB, free: 2.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.3623, allocations: 268.5 kB / 0.5839 GB, free: 2.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3623, allocations: 1 kB / 0.5839 GB, free: 2.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3623, allocations: 3.938 kB / 0.5839 GB, free: 2.066 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.3623, allocations: 0 / 0.5839 GB, free: 2.066 MB / 430.1 MB 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.0006479/0.363, allocations: 0.5289 MB / 0.5845 GB, free: 1.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.363, allocations: 10.28 kB / 0.5845 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.429e-05/0.3631, allocations: 23.59 kB / 0.5845 GB, free: 1.578 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.3633, allocations: 258.7 kB / 0.5847 GB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.3634, allocations: 14.53 kB / 0.5848 GB, free: 1.328 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.3634, allocations: 22.19 kB / 0.5848 GB, free: 1.316 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003325/0.3637, allocations: 209.9 kB / 0.585 GB, free: 1.203 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.3638, allocations: 4 kB / 0.585 GB, free: 1.199 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.3638, allocations: 6.062 kB / 0.585 GB, free: 1.195 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.3638, allocations: 4.875 kB / 0.585 GB, free: 1.195 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009285/0.3647, allocations: 0.7349 MB / 0.5857 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007613/0.3655, allocations: 0.5568 MB / 0.5863 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000463/0.366, allocations: 301.8 kB / 0.5865 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.3661, allocations: 102.9 kB / 0.5866 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.79e-05/0.3662, allocations: 26.03 kB / 0.5867 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002984/0.3665, allocations: 177.3 kB / 0.5868 GB, free: 480 kB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 1.563e-06/0.3665, allocations: 0 / 0.5868 GB, free: 480 kB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006407/0.3671, allocations: 366.3 kB / 0.5872 GB, free: 340 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.3672, allocations: 137.5 kB / 0.5873 GB, free: 176 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.3675, allocations: 303.1 kB / 0.5876 GB, free: 4 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.803e-05/0.3675, allocations: 36.05 kB / 0.5876 GB, free: 15.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.178e-05/0.3676, allocations: 118.6 kB / 0.5877 GB, free: 15.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.186e-05/0.3677, allocations: 106.2 kB / 0.5878 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.947e-05/0.3678, allocations: 65.64 kB / 0.5879 GB, free: 15.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3679, allocations: 338.9 kB / 0.5882 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.3681, allocations: 84.39 kB / 0.5883 GB, free: 15.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.3683, allocations: 133.3 kB / 0.5884 GB, free: 15.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.3686, allocations: 212.2 kB / 0.5886 GB, free: 15.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3687, allocations: 0 / 0.5886 GB, free: 15.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004489/0.3691, allocations: 276.6 kB / 0.5889 GB, free: 15.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.3691, allocations: 5.922 kB / 0.5889 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3692, allocations: 0.6875 kB / 0.5889 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3692, allocations: 1.531 kB / 0.5889 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.3694, allocations: 63.98 kB / 0.589 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.3694, allocations: 5.484 kB / 0.589 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.3696, allocations: 28.16 kB / 0.589 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.3696, allocations: 13.94 kB / 0.589 GB, free: 15.09 MB / 446.1 MB 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.0001583/0.3698, allocations: 164 kB / 0.5892 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.3698, allocations: 24.17 kB / 0.5892 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006789/0.3705, allocations: 384.4 kB / 0.5896 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3705, allocations: 7.406 kB / 0.5896 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.3705, allocations: 0.9688 kB / 0.5896 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3706, allocations: 5.953 kB / 0.5896 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003379/0.3709, allocations: 332.4 kB / 0.5899 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.3709, allocations: 4 kB / 0.5899 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.3711, allocations: 57.12 kB / 0.59 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3711, allocations: 1.312 kB / 0.59 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.3711, allocations: 9.812 kB / 0.59 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3711, allocations: 3.188 kB / 0.59 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3711, allocations: 0 / 0.59 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000475/0.3716, allocations: 327.2 kB / 0.5903 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.3717, allocations: 141.7 kB / 0.5904 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.095e-05/0.3718, allocations: 7.453 kB / 0.5904 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.3719, allocations: 14.16 kB / 0.5904 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.372, allocations: 21.48 kB / 0.5905 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.372, allocations: 13.91 kB / 0.5905 GB, free: 14.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002341/0.3723, allocations: 242.4 kB / 0.5907 GB, free: 14.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3723, allocations: 3.938 kB / 0.5907 GB, free: 14.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.3726, allocations: 53.2 kB / 0.5908 GB, free: 14.06 MB / 446.1 MB 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.0008557/0.3734, allocations: 415.2 kB / 0.5912 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005273/0.374, allocations: 304.1 kB / 0.5914 GB, free: 13.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.374, allocations: 0 / 0.5914 GB, free: 13.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.3742, allocations: 129.8 kB / 0.5916 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.3744, allocations: 31.23 kB / 0.5916 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007735/0.3752, allocations: 0.498 MB / 0.5921 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.3756, allocations: 0.7558 MB / 0.5928 GB, free: 12.78 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000323/0.3759, allocations: 149.5 kB / 0.593 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.728e-05/0.376, allocations: 52.08 kB / 0.593 GB, free: 12.71 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.376, allocations: 0 / 0.593 GB, free: 12.71 MB / 446.1 MB Notification: Performance of Templates: time 0.006363/0.3823, allocations: 2.957 MB / 0.5959 GB, free: 11.75 MB / 446.1 MB 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)