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.001151/0.001151, allocations: 113.2 kB / 16.37 MB, free: 6 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.001165/0.001166, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.234/1.234, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7315/0.7315, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 67.91 kB / 0.5068 GB, free: 7.648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2921, allocations: 80.9 MB / 0.5858 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002434/0.2945, allocations: 1.626 MB / 0.5874 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.2957, allocations: 1.155 MB / 0.5885 GB, free: 23.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.607e-05/0.2958, allocations: 2.344 kB / 0.5885 GB, free: 23.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.296, allocations: 27.41 kB / 0.5885 GB, free: 23.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002079/0.2962, allocations: 63.39 kB / 0.5886 GB, free: 23.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.2964, allocations: 140 kB / 0.5887 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.2966, allocations: 227.5 kB / 0.5889 GB, free: 23.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.299e-05/0.2967, allocations: 18.95 kB / 0.5889 GB, free: 23.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.643e-05/0.2968, allocations: 70.58 kB / 0.589 GB, free: 23.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.297, allocations: 97.2 kB / 0.5891 GB, free: 23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.297, allocations: 16.22 kB / 0.5891 GB, free: 23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.2971, allocations: 74.94 kB / 0.5892 GB, free: 22.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.38e-05/0.2972, allocations: 80.12 kB / 0.5893 GB, free: 22.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.898e-05/0.2973, allocations: 99.39 kB / 0.5894 GB, free: 22.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.2975, allocations: 281.5 kB / 0.5896 GB, free: 22.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.2975, allocations: 1.219 kB / 0.5896 GB, free: 22.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.2975, allocations: 0 / 0.5896 GB, free: 22.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.2975, allocations: 0 / 0.5896 GB, free: 22.55 MB / 446.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.0005413/0.2981, allocations: 0.527 MB / 0.5901 GB, free: 21.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.69e-05/0.2981, allocations: 14.39 kB / 0.5902 GB, free: 21.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.711e-05/0.2982, allocations: 28.59 kB / 0.5902 GB, free: 21.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.2984, allocations: 259.8 kB / 0.5904 GB, free: 21.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.2984, allocations: 14.77 kB / 0.5905 GB, free: 21.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.2984, allocations: 16.38 kB / 0.5905 GB, free: 21.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.2987, allocations: 209.5 kB / 0.5907 GB, free: 21.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2987, allocations: 4.766 kB / 0.5907 GB, free: 21.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.2987, allocations: 12 kB / 0.5907 GB, free: 21.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.2987, allocations: 4.906 kB / 0.5907 GB, free: 21.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006158/0.2994, allocations: 0.7372 MB / 0.5914 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006193/0.3, allocations: 0.5602 MB / 0.592 GB, free: 20.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000361/0.3004, allocations: 298.2 kB / 0.5922 GB, free: 19.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.3005, allocations: 102.5 kB / 0.5923 GB, free: 19.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.3005, allocations: 20.25 kB / 0.5924 GB, free: 19.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/0.3007, allocations: 178 kB / 0.5925 GB, free: 19.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.573e-06/0.3008, allocations: 1.625 kB / 0.5925 GB, free: 19.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.0004881/0.3012, allocations: 366.6 kB / 0.5929 GB, free: 19.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.3013, allocations: 132.5 kB / 0.593 GB, free: 18.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.3015, allocations: 297.2 kB / 0.5933 GB, free: 18.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.3015, allocations: 33.69 kB / 0.5933 GB, free: 18.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.3016, allocations: 124.7 kB / 0.5934 GB, free: 18.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.391e-05/0.3016, allocations: 111.3 kB / 0.5935 GB, free: 18.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.871e-05/0.3017, allocations: 65.06 kB / 0.5936 GB, free: 18.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.474e-05/0.3017, allocations: 342.8 kB / 0.5939 GB, free: 17.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.3019, allocations: 79.95 kB / 0.594 GB, free: 17.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.302, allocations: 131.5 kB / 0.5941 GB, free: 17.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.3023, allocations: 217.2 kB / 0.5943 GB, free: 17.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3023, allocations: 0 / 0.5943 GB, free: 17.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003234/0.3026, allocations: 277.8 kB / 0.5946 GB, free: 17.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.3026, allocations: 8 kB / 0.5946 GB, free: 17.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3026, allocations: 0.9062 kB / 0.5946 GB, free: 17.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.3026, allocations: 0 / 0.5946 GB, free: 17.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.3028, allocations: 61.47 kB / 0.5947 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3028, allocations: 0 / 0.5947 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.303, allocations: 35.7 kB / 0.5947 GB, free: 17.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.303, allocations: 12 kB / 0.5947 GB, free: 17.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 9.933e-05/0.3031, allocations: 163.4 kB / 0.5949 GB, free: 16.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.3031, allocations: 27.7 kB / 0.5949 GB, free: 16.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005256/0.3037, allocations: 380.3 kB / 0.5953 GB, free: 16.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3037, allocations: 4.812 kB / 0.5953 GB, free: 16.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3037, allocations: 0 / 0.5953 GB, free: 16.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3037, allocations: 5.062 kB / 0.5953 GB, free: 16.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.3039, allocations: 329.2 kB / 0.5956 GB, free: 16.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3039, allocations: 7.922 kB / 0.5956 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.3041, allocations: 57.48 kB / 0.5956 GB, free: 16.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3041, allocations: 4 kB / 0.5957 GB, free: 16.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.3041, allocations: 11.98 kB / 0.5957 GB, free: 16.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3041, allocations: 0 / 0.5957 GB, free: 16.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3041, allocations: 1.625 kB / 0.5957 GB, free: 16.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003403/0.3044, allocations: 321.7 kB / 0.596 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.279e-05/0.3045, allocations: 139.8 kB / 0.5961 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.3046, allocations: 12 kB / 0.5961 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.3047, allocations: 11.98 kB / 0.5961 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.3048, allocations: 23.97 kB / 0.5962 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.3048, allocations: 16 kB / 0.5962 GB, free: 15.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.3049, allocations: 229.6 kB / 0.5964 GB, free: 15.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3049, allocations: 0 / 0.5964 GB, free: 15.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.3052, allocations: 61.5 kB / 0.5964 GB, free: 15.24 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.0007637/0.3059, allocations: 411.7 kB / 0.5968 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003012/0.3063, allocations: 238 kB / 0.5971 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3063, allocations: 0 / 0.5971 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.3064, allocations: 131.8 kB / 0.5972 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.3066, allocations: 37.31 kB / 0.5972 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000544/0.3072, allocations: 0.489 MB / 0.5977 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.3073, allocations: 0.7573 MB / 0.5984 GB, free: 13.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00026/0.3076, allocations: 141.8 kB / 0.5986 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.359e-05/0.3077, allocations: 47.36 kB / 0.5986 GB, free: 13.16 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3077, allocations: 0 / 0.5986 GB, free: 13.16 MB / 446.1 MB Notification: Performance of Templates: time 0.005115/0.3128, allocations: 2.961 MB / 0.6015 GB, free: 10.27 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)